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)
E.g. something like:
to say "I want to install
devtools 2.1.0
, as available from the repository calledCRAN
". The repository URL would be taken by matching the name againstgetOption("repos")
.(It may also be useful to store both the repository name + URL as remote fields after install)