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

How to install the package doesn't work #4

Open
IwoA opened this issue Oct 6, 2021 · 3 comments
Open

How to install the package doesn't work #4

IwoA opened this issue Oct 6, 2021 · 3 comments

Comments

@IwoA
Copy link

IwoA commented Oct 6, 2021

This command:

install.packages(
   "paint", 
   repos = c(mm = "https://milesmcbain.r-universe.dev", c(getOption("repos"))))

is not working (at least on Windows 10).

@MilesMcBain
Copy link
Owner

MilesMcBain commented Oct 6, 2021

Sorry @IwoA, it works for me when I copy-paste it into my terminal running R.

What error do you get?

You can also use remotes::install_github("milesmcbain/paint") but be aware that will install the HEAD of this repo which has some experimental stuff.

@IwoA
Copy link
Author

IwoA commented Oct 7, 2021

I've got error "Error 404"
Later I had used suggestion from https://milesmcbain.r-universe.dev/ui#builds and installed the package.

@HenrikBengtsson
Copy link

This is probably because option repos is not set, i.e. the following gives the 404 error:

> getOption("repos")
    CRAN 
"@CRAN@" 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants