packrat::bundle() does not generate valid bundle in packrat 0.4.1-1 under Windows 7 x64, R 3.1.1
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 409
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
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:
- Restoring project library...
Error: This project has not yet been packified.
Run 'packrat::init() to init packrat.
It would be very helpful if this could be fixed, so I can recommend the paper to my colleagues who only use Windows.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce packrat::bundle() on Windows 7 x64 with R 3.1.1 and packrat 0.4.1-1, then compare the generated .tar.gz with the Linux archive. Check that project files such as init.R and .Rprofile are included and that packrat::unbundle() restores the project without the packification error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100