[prev in list] [next in list] [prev in thread] [next in thread]
List: r-devel
Subject: [Rd] R CMD check message: "The following files should probably not be installed"
From: John Maindonald <john.maindonald () anu ! edu ! au>
Date: 2015-01-27 9:34:01
Message-ID: 41523A30-35B5-40CD-81A3-8624BFD35201 () anu ! edu ! au
[Download RAW message or body]
Sorry. This, and the description in the =93Writing R Extensions=94 manual,
leaves me completely mystified. Is it that I have to remove the PDFs
that are created when I run =91R CMD build=92, and somehow ensure that
they are rebuilt when the package is installed? Do I need a Makefile?
John Maindonald email: john.maindonald@anu.edu.au<mailto:john.m=
aindonald@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.
On 26 Jan 2015, at 22:00, <r-devel-request@r-project.org<mailto:r-devel-req=
uest@r-project.org>> <r-devel-request@r-project.org<mailto:r-devel-request@=
r-project.org>> wrote:
From: Prof Brian Ripley <ripley@stats.ox.ac.uk<mailto:ripley@stats.ox.ac.uk=
>>
Subject: Re: [Rd] R CMD check message: "The following files should probably=
not be installed"
Date: 26 January 2015 19:52:12 AEDT
To: <r-devel@r-project.org<mailto:r-devel@r-project.org>>
On 25/01/2015 23:25, John Maindonald wrote:
I am doing [R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet=94; Platform: x=
86_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:
=91figs10.pdf=92, =91figs11.pdf=92, =91figs12.pdf=92, =91figs13.pdf=92, =
=91figs14.pdf=92,
=91figs5.pdf=92, =91figs6.pdf=92, =91figs9.pdf=92
Consider the use of a .Rinstignore file: see =91Writing R Extensions=92,
or move the vignette sources from =91inst/doc=92 to =91vignettes=92.
The vignette sources were in =91vignettes=92 when DAAGviz_1.0.3.tar.gz was =
created. There was nothing in the =91inst/doc=92 directory.
If I have in my .Rinstignore file
inst/doc/.*[.]pdf
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? Ma=
ybe
'When R CMD build builds the vignettes, it copies these and the vignette so=
urces from directory vignettes to inst/doc. To install any other files from=
the vignettes directory, include a file vignettes/.install_extras which sp=
ecifies these as Perl-like regular expressions on one or more lines. (See t=
he description of the .Rinstignore file for full details.)'
suggests how?
then I get:
<<<
* checking package vignettes in =91inst/doc=92 ... WARNING
Package vignettes without corresponding PDF/HTML:
. . .
What am I missing? Can I ignore the "The following files should probably n=
ot be installed=94 message?
Not if you want to submit the package to CRAN.
John Maindonald email: john.maindonald@anu.edu.au<mailto:john.m=
aindonald@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.
______________________________________________
R-devel@r-project.org<mailto:R-devel@r-project.org> mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
[[alternative HTML version deleted]]
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic