[R-pkg-devel] Failed on win-builder

Juhee Lee |jh988488 @end|ng |rom gm@||@com
Tue May 28 17:08:51 CEST 2019


In the first case, I've already done that. But I've got the same results.

Juhee


2019년 5월 28일 (화) 오후 11:38, Iñaki Ucar <iucar using fedoraproject.org>님이 작성:

> On Tue, 28 May 2019 at 16:29, Juhee Lee <ljh988488 using gmail.com> wrote:
> >
> > Hello. I'm checking my package for CRAN.
> >
> > I check my package on win-builder, then I got these NOTE and WARNING.
> >
> > * checking sizes of PDF files under 'inst/doc' ... WARNING
> >   'gs+qpdf' made some significant size reductions:
> >      compacted 'vignette.ltx.pdf' from 496Kb to 246Kb
> >   consider running tools::compactPDF(gs_quality = "ebook") on these files
> > * checking installed files from 'inst/doc' ... NOTE
> > The following files should probably not be installed:
> >   'vignette.ltx.tex'
> >
> > Consider the use of a .Rinstignore file: see 'Writing R Extensions',
> > or move the vignette sources from 'inst/doc' to 'vignettes'.
> >
> >
> > How can I solve these NOTE and WARNING?
>
> Well, doing exactly what the messages suggest, especially in the
> second case. In the first case, the easiest way to fix it is to add
> the following flag to the build command:
>
> R CMD build --compact-vignettes="both" yourpackage
>
> If you use devtools, there's a parameter to add this extra argument.
>
> Iñaki
>

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list