Open zkamvar opened 2 years ago
There is currently another wrinkle to this saga:
If a GitHub package does not exist on a system, then it cannot be provisioned by {sandpaper} (see https://github.com/carpentries/actions/issues/32#issuecomment-1777883411)
This is because when we search for packages that need to be hydrated, we use renv::dependencies()
, which just reports package names, not provenance:
The solution would be to exclude packages that already exist in the lockfile for hydration.
Right now, it's not clear how to auto-detect GitHub-only packages in {renv} outside of a
DESCRIPTION
file. I would like to not add a description file to the mix because that will add more confusion for lesson authors.Right now, if there is a lesson with the https://github.com/weecology/ratdat package being used, it will give the following error:
The solution is to use
sandpaper::pin_version("weecology/ratdat")
, but there should be a better way to include this.