pak
pak copied to clipboard
Select specific versions for CRAN packages
For R packages that need to be installed from the CRAN archive. E.g. https://github.com/r-lib/pak/blob/c85118b565dc9be753291d9b24c59f3f82b4c320/R/package.R#L26-L30
Looks like it needs to be copied over from https://github.com/r-lib/pkgdepends/blob/359d94554c70502d21861b9af70fbe95cc5f91ae/R/remotes.R#L47-L50
Well, you can't currently. This was supported before, and the parser sill parses it, but I temporarily removed it when re-organizing the internals. So it is not just documentation, I'll need to add it back.
@gaborcsardi are you saying specific versions (or version ranges) can't be used with pak anymore? That seems like a pretty big deal since solving version dependencies is supposed to be one of the primary advantages of pak. Or has this already been added back and this ticket just needs to be updated?
Any chance this will be reintroduced in pak anytime soon @gaborcsardi?
👍 this, that would be an awesome feature
Until this is implemented, you can use cran/package@version
which will install version
from https://github.com/cran/. E.g.: cran/[email protected]
.