Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add packages, repo, and tests for local repository behavior. Both tests fail per discussion in #153
breakfastcereal
project is usingcereal
package 1.0.0, but the repotestrepo
has moved on to version 2.0.0. TheRepository: testrepo
field is set, but packrat still fails to pull sources for 1.0.0 (even though sources for that version are available in the repository).One note on this one... packrat.lock picked up a dependency on packrat-4.8.1, which is probably bad for go-forward testing here. Not sure how to resolve that issue. Making this test pass would be hugely helpful to the maintenance of external packages not yet on (or not relevant for) github or CRAN, so projects can grab sources for old versions of the package without issue. i.e. a
drat
repobreakfastyogurt
project is using theyogurt
package 1.0.0, but theRepository: testrepo
field is not set in the package. Packrat fails to load the package, even though the repository is defined ingetOption('repos')
, so finding the packageyogurt
should be do-able. Per discussion on Error insnapshot()
with packages installed from external source #153 , the preferred behavior seems to be loading the package even ifRepository: testrepo
is not set. See comment from 10/4/2016 2:04am (EST)