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

pkg_install ignores explicit version when that version does not exist #615

Open
msteijaert opened this issue Apr 19, 2024 · 0 comments
Open
Labels
bug an unexpected problem or unintended behavior

Comments

@msteijaert
Copy link

pkg_install() allows to install a specific version of a package. E.g., pak::pkg_install("data.table@1.15.2") will install data.table version 1.15.2.
However, when I specify a non-existing version such as pak::pkg_install("data.table@1.15.1"), it does not complain, but installs the latest version instead (currently 1.15.4). I think it would be useful to throw an (optional) error or warning here.

@gaborcsardi gaborcsardi added the bug an unexpected problem or unintended behavior label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants