[Rd] Vignette pdfs missing from zip file after Rcmd build --binary call

From: Eli Holmes <e2holmes_at_gmail.com>
Date: Thu, 07 Jul 2011 00:39:09 -0700


I have been building R packages for awhile on Windows, and I recently upgraded R and all required package creation tools to 2.13.0. I understand that there have been changes in that the R CMD build command no longer alters the source directory, cf comments in http://tolstoy.newcastle.edu.au/R/e13/help/11/04/10379.html For example, if I issue the command Rcmd build FOO, then directory FOO is not altered in contrast to earlier R versions where vignette pdfs would be added to the source directory FOO.

I have no problem creating the FOO.tar.gz file, and it has the vignette pdfs in the inst/doc as usual. The problem is the .zip file that I create for Windows users. In earlier versions of R, this .zip file had the newly created vignette pdfs but now it does not. Here is what I see:

source FOO:

FOO.tar.gz (after Rcmd build FOO)

FOO.zip (after Rcmd build --binary FOO or R CMD install --build FOO) inst/doc

Yes, I can manually move the pdf files from the tar.gz directory to the zip directory, but there are many and I am liable to make mistakes.

I suppose I could unzip the tar.gz file and then make a temporary source file FOOtmp and run Rcmd build --binary FOOtmp, but I am hoping there is an easier way.

Things I have tried unsuccessful
 I tried using the tar.gz file as the source Rcmd build --binary FOO.tar.gz (got error) R CMD install --build FOO.tar.gz (same error)

I tried using some of the options for R CMD install: --force-multiarch and --merge-multiarch. No change.

Any ideas?


R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 07 Jul 2011 - 14:22:24 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 07 Jul 2011 - 17:00:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive