CredibilityLab / groundhog

Reproducible R Scripts Via Date Controlled Installing & Loading of CRAN & Git Packages
https://groundhogr.com/
GNU General Public License v3.0
78 stars 4 forks source link

Can't load development branch of GitHub package #82

Closed theamarks closed 1 year ago

theamarks commented 1 year ago

I am running a biblometric analysis based on the development branch of a GitHub package (here). I would like to make my analysis reproducible and maintain the exact version of the package.

The regular instillation of the development branch is devtools::install_github("dataoneorg/scythe@develop") and I have tried to use groundhog like this: groundhog.library('github::dataoneorg/scythe@develop' , '2022-07-14')

I am running into an error trying to employ groundhog with the development branch of this package. Unable to obtain R package 'dataoneorg/scythe@develop' from 'github'. Check spelling of package, make sure it is an R package, and that it is available on 'github', check your internet connection [...]

Is this function available with groundhog? Thanks for such a fantastic package!

urisohn commented 1 year ago

Hi. Yeah, groundhog only works with the default branch, this is unlikely to be modified. Future versions of groundhog should add useful feedback to communicate this when a user specifies the branch in the call with @.

Sorry.

theamarks commented 1 year ago

No worries, thank you for the clarification!