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

2017-05-26 Thread Duncan Murdoch
.edu<mailto:arnabkrma...@stat.tamu.edu> arnabkrma...@tamu.edu +1 779 777 3428 From: Merlise Clyde, Ph.D. 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 usin

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

2017-05-25 Thread Merlise Clyde, Ph.D.
.D. 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

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

2017-05-25 Thread Dason Kurkiewicz
___ >> From: Merlise Clyde, Ph.D. >> 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 doc

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

2017-05-25 Thread Duncan Murdoch
mu.edu> arnabkrma...@tamu.edu +1 779 777 3428 From: Merlise Clyde, Ph.D. 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 docum

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

2017-05-25 Thread Maity, Arnab K
aku...@stat.tamu.edu<mailto:arnabkrma...@stat.tamu.edu> arnabkrma...@tamu.edu +1 779 777 3428 From: Merlise Clyde, Ph.D. 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 fun

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

2017-05-25 Thread Merlise Clyde, Ph.D.
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 On May 25, 2017, at 8:55 AM,

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

2017-05-25 Thread Duncan Murdoch
On 24/05/2017 11:59 PM, Maity, Arnab K wrote: Dear R Package developers, Apologies for cross posting. I posted the following message on R help forum and got advised to post here. I created a package on github. It is located at "arnabkrmaity/brlrmr". Then I submitted this on CRAN and it is

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

2017-05-25 Thread Jim Lemon
Hi Arnab, It will be something like this: importFrom("utils", "read.table") export( fil ) S3method(print,fil) You will probably have to import some functions from the packages that come with R. Then you list all the functions you want to export, separated by commas. Finally you list any methods

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

2017-05-25 Thread Maity, Arnab K
Dear R Package developers, Apologies for cross posting. I posted the following message on R help forum and got advised to post here. I created a package on github. It is located at "arnabkrmaity/brlrmr". Then I submitted this on CRAN and it is now available on CRAN. When I install this pack