Re: [R-pkg-devel] Question on a NOTE when testing a package

2017-05-10 Thread Jang Ik Cho
I see what you mean. Problem solved. I wasn't familiar with the structure since it's my first time submitting to CRAN. Thank you very much. Best Regards, Jang On Wed, May 10, 2017 at 6:51 PM, Uwe Ligges wrote: > > > On 11.05.2017 00:04, Jang Ik Cho wrote: > >> Thank you very much for the respo

Re: [R-pkg-devel] Question on a NOTE when testing a package

2017-05-10 Thread Uwe Ligges
On 11.05.2017 00:04, Jang Ik Cho wrote: Thank you very much for the response. I've already tried import from NAMESPACE but I got following message. checking package dependencies ... ERROR Namespace dependency not required: ‘MASS’ Come on, read Writing R Extensions. You have to declare it in

Re: [R-pkg-devel] Question on a NOTE when testing a package

2017-05-10 Thread Jang Ik Cho
Thank you very much for the response. I've already tried import from NAMESPACE but I got following message. checking package dependencies ... ERRORNamespace dependency not required: ‘MASS’ Is there any other solutions? - Jang Ik Cho, MS Ph.D. Candidate Department of Epidemiology and Biosta

Re: [R-pkg-devel] Windows tests for CRAN submission

2017-05-10 Thread Shivaram Venkataraman
On Wed, May 10, 2017 at 9:58 AM, Uwe Ligges wrote: > On 10.05.2017 07:58, Shivaram Venkataraman wrote: > >> Hi >> >> I'm a first time package submitter to CRAN and have a question on how to >> handle unit tests on Windows. The SparkR [1] package [2] file that we are >> trying to submit passes "R

Re: [R-pkg-devel] [patch] R CMD check when there are no .Rd examples

2017-05-10 Thread Uwe Ligges
There are packages where examples do not make sense, hence we do not generally reject such packages. But if adding examples are reasonable we ask for them. Best, Uwe Ligges On 10.05.2017 17:28, Neal Richardson wrote: Hi, Last week I submitted a new package to CRAN, and it was rejected becau

Re: [R-pkg-devel] Windows tests for CRAN submission

2017-05-10 Thread Uwe Ligges
On 10.05.2017 07:58, Shivaram Venkataraman wrote: Hi I'm a first time package submitter to CRAN and have a question on how to handle unit tests on Windows. The SparkR [1] package [2] file that we are trying to submit passes "R CMD check --as-cran" with no errors on both Linux and OS X. On Wind

Re: [R-pkg-devel] Question on a NOTE when testing a package

2017-05-10 Thread Uwe Ligges
Import from the MAS namespace. Best, Uwe Ligges On 10.05.2017 05:54, Jang Ik Cho wrote: I am getting the following messages as a note. checking R code for possible problems ... NOTE: no visible global function definition for ‘glm.nb’: no visible global function definition for

[R-pkg-devel] [patch] R CMD check when there are no .Rd examples

2017-05-10 Thread Neal Richardson
Hi, Last week I submitted a new package to CRAN, and it was rejected because there were no examples in any of the man pages. That's a reasonable requirement--I just didn't know it was one. When I looked back at the R CMD check results locally, I saw * checking examples ... NONE but the run st

[R-pkg-devel] Windows tests for CRAN submission

2017-05-10 Thread Shivaram Venkataraman
Hi I'm a first time package submitter to CRAN and have a question on how to handle unit tests on Windows. The SparkR [1] package [2] file that we are trying to submit passes "R CMD check --as-cran" with no errors on both Linux and OS X. On Windows, the package builds successfully but requires ad

[R-pkg-devel] Question on a NOTE when testing a package

2017-05-10 Thread Jang Ik Cho
I am getting the following messages as a note. checking R code for possible problems ... NOTE: no visible global function definition for ‘glm.nb’: no visible global function definition for ‘rnegbin’Undefined global functions or variables: glm.nb rnegbin Both glm.nb and rnegbin i

[R-pkg-devel] Re-exporting S3 generics

2017-05-10 Thread Lenth, Russell V
Dear package developers: My 'lsmeans' package provides, among other things, 'as.mcmc' and 'as.mcmc.list' methods for its 'ref.grid' objects. Those methods allow obtaining posterior predictions, or averages thereof, from certain models fitted using MCMC methods. My question concerns this: the S3