remotes icon indicating copy to clipboard operation
remotes copied to clipboard

Doesn't the 'install_version' function default to installing the highest version that meets the user-specified conditions?

Open crazyxiaoj opened this issue 1 year ago • 0 comments

In the download_version_url function, I noticed that you seem to intend to select the last row after sorting, which appears to be aimed at choosing the highest version of the installation package. However, I found that there is an error in the sorting of the info object, which results in the selection of the incorrect version.

This is my code: remotes::install_version("rjson", version = "< 0.2.22")

image

image

crazyxiaoj avatar Sep 12 '24 05:09 crazyxiaoj