Open wieling opened 10 years ago
Hi @wieling,
This should be fixed now in packrat
. It turns out that R's internal tar
will ignore files in sub-directories (even when they are explicitly passed as part of the files
argument).
Thanks, Kevin
Hi Kevin,
Thanks. Would it be also possible to upload this version to CRAN?
With kind regards, Martijn
Martijn Wieling http://www.martijnwieling.nl wieling@gmail.com +31(0)610095021
University of Groningen / Tübingen Department of Linguistics
On Tue, Sep 30, 2014 at 7:58 PM, Kevin Ushey notifications@github.com wrote:
Hi @wieling https://github.com/wieling,
This should be fixed now in packrat. It turns out that R's internal tar will ignore files in sub-directories (even when they are explicitly passed as part of the files argument).
Thanks, Kevin
Reply to this email directly or view it on GitHub https://github.com/rstudio/packrat/issues/152#issuecomment-57355072.
We don't have a planned date for the next submission of packrat
at the moment. In the meantime, I would recommend that you install the development version on master:
packrat::install_github("rstudio/packrat")
should work fine.
Thanks for the great work on packrat! I'd really like to use this package to create reproducible research. Consequently, I've tried to bundle() my project on two different Windows 7 x64 machines with R 3.1.1 x64 and packrat version 0.4.1-1 installed, but the generated .tar.gz file unfortunately does not contain all necessary files. Only the package source files are present, but all other folders and files (such as init.R and .Rprofile) are not present when comparing it to the .tar.gz archive generated on a Linux machine with R 3.1.1 and packrat 0.4.1-1). As a consequence, packrat::unbundle() throws an error on the Windows-generated archive:
It would be very helpful if this could be fixed, so I can recommend the paper to my colleagues who only use Windows.