Re: [R-pkg-devel] R CMD check --as-cran problem

2019-01-14 Thread Wang, Zhu
The source file is on a local computer, so I would not be able to send a link. Nevertheless, I downloaded a stable version at https://cran.r-project.org/src/contrib/bujar_0.2-3.tar.gz, and attached results from R CMD check --as-cran Thanks, Zhu From:

Re: [R-pkg-devel] R CMD check --as-cran problem

2019-01-14 Thread Dirk Eddelbuettel
On 14 January 2019 at 21:05, Wang, Zhu wrote: | Apologize for multiple emails but my another email with source version of the package was hold waiting for moderator approval. I now formally rejected the post. Why? There is a reason there is a size limit there. You were not asked to send your

Re: [R-pkg-devel] R CMD check --as-cran problem

2019-01-14 Thread Duncan Murdoch
On 14/01/2019 2:30 p.m., Wang, Zhu wrote: First, I removed the Rnw file in vignettes to make simple. Then I followed Duncan's suggestions below, but I had the same error. Next, in the DESCRIPTION, I added survival in Imports, and importFrom("survival", "survfitKM") in NAMESPACE. But I still

Re: [R-pkg-devel] R CMD check --as-cran problem

2019-01-14 Thread Uwe Ligges
What happens if you submit to winbuilder? If that gives the same error, make the source version of your package available that you are checking. Best, Uwe Ligges On 14.01.2019 20:30, Wang, Zhu wrote: First, I removed the Rnw file in vignettes to make simple. Then I followed Duncan's

Re: [R-pkg-devel] package fails with parallel make - would forcing a serial version work?

2019-01-14 Thread Satyaprakash Nayak
Thank you Paul and Avi for your response. Indeed, there was an error in Makefile which could have been contributing to the issues with parallel make. I have re-submitted after correcting for the mistakes in Makefile, hopefully it will not throw errors with parallel make now. Thank you for your

Re: [R-pkg-devel] R CMD check --as-cran problem

2019-01-14 Thread Wang, Zhu
First, I removed the Rnw file in vignettes to make simple. Then I followed Duncan's suggestions below, but I had the same error. Next, in the DESCRIPTION, I added survival in Imports, and importFrom("survival", "survfitKM") in NAMESPACE. But I still had the same error: there is no package

Re: [R-pkg-devel] package fails with parallel make - would forcing a serial version work?

2019-01-14 Thread Avraham Adler
If you want to use .NOTPARRALLEL, that’s considered non-portable as it’s GNU-make specific, (I got an email from Dr. Ripley this week) so you have to add Gnu Make to the system requirements in the DESCRIPTION or find the right sequence of targets to ensure order is maintained even in parallel

Re: [R-pkg-devel] R CMD check --as-cran problem

2019-01-14 Thread Dirk Eddelbuettel
On 14 January 2019 at 13:19, Duncan Murdoch wrote: | On 14/01/2019 12:37 p.m., Dirk Eddelbuettel wrote: | > | > On 14 January 2019 at 16:52, Wang, Zhu wrote: | > | Thanks Dirk and Klaus. The package Matrix is not used directly but it is used by package survival, which was called in Suggests.

Re: [R-pkg-devel] package fails with parallel make - would forcing a serial version work?

2019-01-14 Thread Paul Gilbert
(I didn't see an answer to this, so ...) I think using .NOTPARALLEL will usually get rid of the error but, in my experience, this problem is usually caused by an incorrect or incomplete Makefile. When not done in parallel this missing target is usually getting done first as a side-affect of

Re: [R-pkg-devel] R CMD check --as-cran problem

2019-01-14 Thread Duncan Murdoch
On 14/01/2019 12:37 p.m., Dirk Eddelbuettel wrote: On 14 January 2019 at 16:52, Wang, Zhu wrote: | Thanks Dirk and Klaus. The package Matrix is not used directly but it is used by package survival, which was called in Suggests. So I am not sure what is the problem. But why CRAN has no such

Re: [R-pkg-devel] size of package and splitting into 2

2019-01-14 Thread Neal Fultz
If you re-exported all the psychTools functions from psych, I doubt a typical user would notice or care. For example, this is how dplyr split out some of it's functions in to another package: https://github.com/tidyverse/dplyr/blob/master/R/reexport-tidyselect.R On Mon, Jan 14, 2019 at 9:03 AM

Re: [R-pkg-devel] R CMD check --as-cran problem

2019-01-14 Thread Wang, Zhu
I added Matrix in Suggests (I am not sure that is the way to go), but the same error occurred with --as-cran: there is no package called 'Matrix.' Again, there is no problem without --as-cran. Zhu -Original Message- From: Dirk Eddelbuettel [mailto:dirk.eddelbuet...@gmail.com] On Behalf

Re: [R-pkg-devel] R CMD check --as-cran problem

2019-01-14 Thread Dirk Eddelbuettel
On 14 January 2019 at 16:52, Wang, Zhu wrote: | Thanks Dirk and Klaus. The package Matrix is not used directly but it is used by package survival, which was called in Suggests. So I am not sure what is the problem. But why CRAN has no such error

Re: [R-pkg-devel] undocumented data sets

2019-01-14 Thread Troels Ring
Thanks a lot T -Oprindelig meddelelse- Fra: Iñaki Ucar Sendt: 14. januar 2019 15:50 Til: Troels Ring Cc: package-develop Emne: Re: [R-pkg-devel] undocumented data sets See an example with roxygen2: https://github.com/r-quantities/errors/blob/master/R/data.R And how this is

[R-pkg-devel] size of package and splitting into 2

2019-01-14 Thread William Revelle
Dear friends, For the last several iterations of psych I have received the Note that the installed size is 6.7 MB with two subdirectories greater than 1 MB. In the most recent submission to CRAN this led to an automatic rejection which then Uwe kindly overrode to allow the installation on

Re: [R-pkg-devel] R CMD check --as-cran problem

2019-01-14 Thread Wang, Zhu
Thanks Dirk and Klaus. The package Matrix is not used directly but it is used by package survival, which was called in Suggests. So I am not sure what is the problem. But why CRAN has no such error https://cran.r-project.org/web/checks/check_results_bujar.html. I assumed the CRAN check uses

Re: [R-pkg-devel] RData files with identical objects in package

2019-01-14 Thread Troels Ring
Thanks a lot - for my purpose right now I seem to prosper from not loading lazy All best Troels -Oprindelig meddelelse- Fra: peter dalgaard Sendt: 14. januar 2019 15:17 Til: Troels Ring Cc: Michael Dewey ; package-develop Emne: Re: [R-pkg-devel] RData files with identical objects in

[R-pkg-devel] undocumented data sets

2019-01-14 Thread Troels Ring
Dear friends - with your help I'm almost through developing a package and Ctrl-shit-E now only has a single warning > checking for missing documentation entries ... WARNING Undocumented data sets: 'Cl' 'K' 'Na' 'TOTAL' 'WA' 'INPUT' 'Alb' 'Ca' 'Lact' 'Mg' 'PCO2' 'S1' 'Brom' 'pHOBS'

Re: [R-pkg-devel] RData files with identical objects in package

2019-01-14 Thread peter dalgaard
There is (of course) a difference between what is the default for a (missing) field in DESCRIPTION and what shells like RStudio put into the field by default... I don't think there is a discrepancy between what is in the official documentation and what R and R CMD * actually does. -pd > On