Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible feature: Request specific version of package #9

Open
DesiQuintans opened this issue Dec 24, 2018 · 2 comments
Open

Possible feature: Request specific version of package #9

DesiQuintans opened this issue Dec 24, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@DesiQuintans
Copy link
Owner

I don't have a projected date for when/if this will be added, but Librarian's bare-names system makes the user interface part of this very approachable, at least. It ought to be possible to request a specific package using

shelf(lorem[1.3.0], ipsum[0.0.5], dolor)

in which case lorem v1.3.0, ipsum v0.0.5 and the latest version of dolor will installed from CRAN.

@DesiQuintans DesiQuintans added the enhancement New feature or request label Dec 24, 2018
@DesiQuintans
Copy link
Owner Author

I've implemented this for GitHub packages by piggybacking on what remotes is already doing:

# Install a branch, commit, or tag, in this case tag v1.6.8
shelf("user/package@v1.6.8")

# Install the newest release
shelf("user/package@*release")

# Install pull request #212
shelf("user/package#212")

remotes doesn't do this for CRAN packages, but I think that I can create support for it anyway by parsing the name and feeding it to remotes::install_version().

@rosherbal
Copy link

Would it be possible to do it too with BiocManager?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants