remotes icon indicating copy to clipboard operation
remotes copied to clipboard

allow specific repository to be encoded in remotes format

Open kevinushey opened this issue 6 years ago • 2 comments

E.g. something like:

remotes::install_cran("[email protected]")

to say "I want to install devtools 2.1.0, as available from the repository called CRAN". The repository URL would be taken by matching the name against getOption("repos").

(It may also be useful to store both the repository name + URL as remote fields after install)

kevinushey avatar Sep 18 '19 18:09 kevinushey

We sort of have this idea in pak, there is cran::[email protected], though on cran:: is supported at the moment.

jimhester avatar Sep 20 '19 19:09 jimhester

I realize what you propose is an additional constraint on top of this, which I think makes sense.

jimhester avatar Sep 20 '19 19:09 jimhester