Closed thomasyu888 closed 1 year ago
This is not a bug in pak, but it is just how CRAN metadata is organized: it does not contain older versions of reticuate, only the latest 1.29 version. R packages do not properly support versioned dependencies.
If you need to depend on a specific older version, you can use the Remotes
field and the pkg@version
syntax, see https://pak.r-lib.org/reference/pak_package_sources.html#the-remotes-field
Thanks @gaborcsardi for the explanation! Your solution worked perfectly! Closing this.
Here is the respository: https://github.com/Sage-Bionetworks/synapser/tree/update-client-version. I discovered this issue when trying to use
r-lib/actions/setup-r-dependencies@v2