packageList() extracts github packages, w/ tests - #99
Conversation
| type = "github" | ||
| ) { | ||
| requireInstall("jsonvalidate") | ||
| is_lockfile <- renv::lockfile_validate( |
There was a problem hiding this comment.
renv::lockfile_validate() returns FALSE when running with mocklock(). Returns TRUE when it is run with a an actual existing renv.lock.
Loading the mocklock() with renv::lockfile_read() works fine, but never gets to that step because of FALSE status. A quick glance of the structure of the mock lock file doesn't reveal anything glaring, but perhaps there is a typo or something else that needs to replicated to be interpreted as an actual lockfile.
|
Hi @cebarboza, I attempted to use
The only note is that I had to run
Regarding the tests: |
|
Hi @ariannaa7 I couldn't replicate running 'mocklock' with packageList(). In the test I am writing a new one from scratch. I will merge and continue with the division and integration with more functions. |

packageList()closes extractGithubList inner function #98extractGithubList()closes extractGithubList inner function #98requireInstall()closes Write a requireInstall FUN to have a handy method for suggested packages #97