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

install_version issue when length(getOption("repos"))>1 #721

Closed
bbolker opened this issue Feb 18, 2015 · 2 comments
Closed

install_version issue when length(getOption("repos"))>1 #721

bbolker opened this issue Feb 18, 2015 · 2 comments

Comments

@bbolker
Copy link
Contributor

bbolker commented Feb 18, 2015

It looks like install_version expects getOption("repos") to be a length-1 vector:

options(repos=c("http://probability.ca/cran/", "http://cran.ma.imperial.ac.uk"))
devtools::install_version("rlandscape",version="1.0")
## Error in url(sprintf("%s/src/contrib/   Meta/archive.rds", repos), "rb") : invalid 'description' argument

Now set repos to a single element:

options(repos=c("http://probability.ca/cran/"))
devtools::install_version("rlandscape",version="1.0")

works fine.

(This is especially problematic on Windows since the default repos option includes both CRAN and CRANextra ...)

@hadley hadley closed this as completed in 5656986 Apr 21, 2015
@bbolker
Copy link
Contributor Author

bbolker commented Apr 21, 2015

thanks!

@lock
Copy link

lock bot commented Sep 18, 2018

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Sep 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant