[Rd] R CMD check message: "The following files should probably not be installed"

John Maindonald john.maindonald at anu.edu.au
Mon Jan 26 00:25:37 CET 2015


I am doing [R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet”; Platform: x86_64-apple-darwin10.8.0 (64-bit)]

> R CMD build DAAGviz
> R CMD check DAAGviz_1.0.3.tar.gz

Without a .Rinstignore file, I get:

<<<
The following files should probably not be installed:
  ‘figs10.pdf’, ‘figs11.pdf’, ‘figs12.pdf’, ‘figs13.pdf’, ‘figs14.pdf’,
  ‘figs5.pdf’, ‘figs6.pdf’, ‘figs9.pdf’

Consider the use of a .Rinstignore file: see ‘Writing R Extensions’,
or move the vignette sources from ‘inst/doc’ to ‘vignettes’.
>>>

The vignette sources were in ‘vignettes’ when DAAGviz_1.0.3.tar.gz was created.  There was nothing in the ‘inst/doc’ directory.


If I have in my .Rinstignore file

  inst/doc/.*[.]pdf

then I get:

<<<
* checking package vignettes in ‘inst/doc’ ... WARNING
Package vignettes without corresponding PDF/HTML:
. . .
>>>

What am I missing?  Can I ignore the "The following files should probably not be installed” message?

John Maindonald             email: john.maindonald at anu.edu.au
phone : +61 2 (6125)3473    fax  : +61 2(6125)5549
Centre for Mathematics & Its Applications, Room 1194,
John Dedman Mathematical Sciences Building (Building 27)
Australian National University, Canberra ACT 0200.



More information about the R-devel mailing list