Skip to content
Prev 49755 / 63421 Next

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

On 25/01/2015 23:25, John Maindonald wrote:
That filters out more than the files warned about.  I guess you meant

inst/doc/figs.*[.]pdf

But the question has to be: how did the files get copied into inst/doc? 
  Maybe

'When R CMD build builds the vignettes, it copies these and the vignette 
sources from directory vignettes to inst/doc. To install any other files 
from the vignettes directory, include a file vignettes/.install_extras 
which specifies these as Perl-like regular expressions on one or more 
lines. (See the description of the .Rinstignore file for full details.)'

suggests how?
Not if you want to submit the package to CRAN.