On 25/05/2017 4:55 PM, Maity, Arnab K wrote:
?Thank you all for your kind replies. I made the necessary changes. Now in 
order to make the changes available on CRAN, do I resubmit the package after 
changing the version?

One other suggestion: make sure your help pages include examples that run every function that you are exporting. If you had done that originally, this error would never have slipped through testing.

Duncan Murdoch





Arnab Kumar Maity
Department of Statistics
Texas A&M University
3143 TAMU, Room 401A
College Station, TX 77843
aku...@stat.tamu.edu<mailto:arnabkrma...@stat.tamu.edu>
arnabkrma...@tamu.edu
+1 779 777 3428<tel:%2B1%20779%20777%203428>
________________________________
From: Merlise Clyde, Ph.D. <cl...@duke.edu>
Sent: Thursday, May 25, 2017 8:25 AM
To: Maity, Arnab K
Cc: r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] could not find function of a package

If you are using roxygen2 for documentation and want to export a function add  
a line with

#' @export

to the .R file as part of the function documentation.   Running 
devtools::document() should  then update the NAMESPACE

See 
http://r-pkgs.had.co.nz/namespace.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__r-2Dpkgs.had.co.nz_namespace.html&d=DwMFAg&c=ODFT-G5SujMiGrKuoJJjVg&r=0B-9Fzm1-9L5x99EIv3gHtKtIiJ6IOXiZVDz5DZx0es&m=6s_Kmc2g4TZsQ6D_LYvan4kACr_mI6jRW4GXj6tXCSA&s=oecp4YLINB8w-ecFDLqjDlRX5bMNdJZZobcOVXZVkPU&e=>


On May 25, 2017, at 8:55 AM, Duncan Murdoch 
<murdoch.dun...@gmail.com<mailto:murdoch.dun...@gmail.com>> wrote:

arnabkrmaity/brlrmr


        [[alternative HTML version deleted]]

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to