r-lib / remotes

Install R packages from GitHub, GitLab, Bitbucket, git, svn repositories, URLs
https://remotes.r-lib.org/
Other
331 stars 152 forks source link

Minimum version dependencies are not enforced enforced when using install_git #807

Open ediferreira11 opened 1 month ago

ediferreira11 commented 1 month ago

Hello,

Not sure how to make a proper regex out of this problem, but if you have a package hosted on Azure DevOps, where on the Imports field of the DESCRIPTION you set a minimum version of dplyr (>= 1.1.0) and you local version of dplyr is 1.0.0, the installation does not fail saying that a higher version is required, just like install.packages() does when installing from CRAN.

Hopefully this is enough for someone to replicate the behavior, please let me know if that's not the case. Thank you!