[R-pkg-devel] could not find function of a package

Maity, Arnab K akumar at stat.tamu.edu
Thu May 25 22:55:43 CEST 2017

?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?

Arnab Kumar Maity
Department of Statistics
Texas A&M University
3143 TAMU, Room 401A
College Station, TX 77843
akumar at stat.tamu.edu<mailto:arnabkrmaity at stat.tamu.edu>
arnabkrmaity at tamu.edu
+1 779 777 3428<tel:%2B1%20779%20777%203428>
From: Merlise Clyde, Ph.D. <clyde at duke.edu>
Sent: Thursday, May 25, 2017 8:25 AM
To: Maity, Arnab K
Cc: r-package-devel at 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.duncan at gmail.com<mailto:murdoch.duncan at gmail.com>> wrote:


	[[alternative HTML version deleted]]

More information about the R-package-devel mailing list