Re: [R-pkg-devel] Resize PDF Vignettes in Source Package

2018-01-10 Thread Marius PASCARIU
--compact-vignettes alone did not work. --compact-vignettes=gs+qpdf did the job. Thanks. Marius Pascariu On 11 Jan 2018, at 00:56, Duncan Murdoch wrote: On 10/01/2018 2:08 AM, Marius PASCARIU wrote: Dear all, I want to add PDF vignettes to my package created with rmarkdown. The PDFs are genera

Re: [R-pkg-devel] Fwd: [CRAN-pretest-archived] CRAN submission simpleroptions 0.2.0

2018-01-10 Thread Luca Cerone
Hi, first of all thanks Uwe for your time. About the package writing a file in the home directory, I have a doubt: the package's aim is to be able to setup configuration files without too much effort. Usually the home is a good place to put such file (for example rstudio creates .rstudio-desktop i

Re: [R-pkg-devel] package dependencies are not available on some check severs

2018-01-10 Thread Miao YU
Thanks! I checked the error and found the original error came from another package(mzR) which are imported by xcms and MSnbase. Unfortunately, the functions I needed are not so self-contained and also rely on mzR in some certain cases. Good news is that someone has recently raised same check er

Re: [R-pkg-devel] package dependencies are not available on some check severs

2018-01-10 Thread Duncan Murdoch
On 10/01/2018 11:29 AM, Miao YU wrote: Hi everyone, I want to update my package (enviGCMS) and find it can’t pass the check since some imported functions are not available. Here is the check log: Thos

[R-pkg-devel] package dependencies are not available on some check severs

2018-01-10 Thread Miao YU
Hi everyone, I want to update my package (enviGCMS) and find it can’t pass the check since some imported functions are not available. Here is the check log: Those functions are all from imported bioc pa

Re: [R-pkg-devel] Resize PDF Vignettes in Source Package

2018-01-10 Thread Duncan Murdoch
On 10/01/2018 2:08 AM, Marius PASCARIU wrote: Dear all, I want to add PDF vignettes to my package created with rmarkdown. The PDFs are generated without problems. If I submit the package to CRAN I would a warning telling me that the files are too large (see below): checking sizes of PDF files

[R-pkg-devel] Resize PDF Vignettes in Source Package

2018-01-10 Thread Marius PASCARIU
Dear all, I want to add PDF vignettes to my package created with rmarkdown. The PDFs are generated without problems. If I submit the package to CRAN I would a warning telling me that the files are too large (see below): checking sizes of PDF files under 'inst/doc' ... WARNING 'gs+qpdf' made so

Re: [R-pkg-devel] (no subject)

2018-01-10 Thread Georgi Boshnakov
Have you put dplyr in 'Suggests'? This should do. Note that R CMD check runs the code in vignettes twice - once during building and then again the tangled R code file. So the error may come from the second run. You can check this locally by telling knitr not to clean up after building the vignet