Closed nikolas-burkoff closed 2 years ago
R CMD check
resulted in Status: OK
Pusher: @nikolas-burkoff, Action: pull_request
1 files 13 suites 12s :stopwatch: 68 tests 68 :heavy_check_mark: 0 :zzz: 0 :x: 205 runs 205 :heavy_check_mark: 0 :zzz: 0 :x:
Results for commit 967569dd.
:recycle: This comment has been updated with latest results.
I can see that there are a lot of dynamic creation of files/dirs paths. Have you seen renv::paths
already? You might find there something you are trying to create on your own.
can see that there are a lot of dynamic creation of files/dirs paths. Have you seen renv::paths already? You might find there something you are trying to create on your own.
So if you run dependency_table("openpharma/x", "repo@host", ref = "main")
then a cloned copy of each repo, including "openpharma/x" is checked out into the cache which is fine - but if you run the addin or start from a local copy of a repo (i.e dependency_table("../my_files/x")
then staged.deps copies your local copy of the repo into the cache.
When we copy we don't want to copy the whole renv library as that is huge and takes ages but we do want to copy over all the renv.lock files (some of which are in renv/profiles/something/ directory) (these are there if you did a fresh clone) - hence the messing around with paths to make sure the right things are copied over
Closes: https://github.com/openpharma/staged.dependencies/issues/147 and closes #146
To test #147:
To test #146
First run - outside of an renv environment:
Then create an renv environment and make sure Bioconductor repos are in options("repos") and run the same command and you'll see the dependencies coming from the cache (or being installed into the cache if they are not already in the cache)