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

Cannot install the bbplot #19

Open
khalidmeister opened this issue Apr 7, 2020 · 4 comments
Open

Cannot install the bbplot #19

khalidmeister opened this issue Apr 7, 2020 · 4 comments

Comments

@khalidmeister
Copy link

Hi, can you help me? I can't install the bbplot and it shows an error like this:
Error: Failed to install 'bbplot' from GitHub:
(converted from warning) unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.6:
cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.6/PACKAGES'

@munichrocker
Copy link

The error means that R has trouble connecting to Github when running:

devtools::install_github('bbc/bbplot')

Some ideas on how to fix that:

  • Make sure you're using the devtools::install_github('bbc/bbplot') function when trying to install bbplot (which is different from Base R's install.packages())
  • Have you successfully installed devtools by running install.packages('devtools')? The stats.ox.ac.uk-url indicates that you are connecting to a local package repository, other than CRAN.
    You might check your CRAN mirror in the RStudio preferences -> Packages. Once you're there anyway, you'd want to tick the "Use secure download method for HTTP"-option.
    You can also try to set a CRAN-mirror manually by running install.packages('devtools', repos = "https://cloud.r-project.org")
  • Are you using a tunneled connection to the internet (e.g. a VPN or a proxy server)? Try disabling it.

@DAbless04
Copy link

Hi @khalidmeister Were you able to resolve the issue? I am getting the same error and tried what @munichrocker mentioned, but it still doesn't work. Thanks.

@panurusbiarmicus
Copy link

@DAbless04 Same :( tried everything but can't make it work.
Have you found a solution since you posted ?

@hartatsr4
Copy link

I am not sure if this will help but played around with a number of variations and here is what finally worked.

devtools::install_github('bbc/bbplot')
Each time, running the code results in: "Enter one or more numbers, or an empty line to skip updates:" Selected '3' each time

Then, sequentially, I installed these packages (again) after running the devtools command above.

  • Rcpp
  • glue
  • digest

After the 'digest' install step, had to delete this file: ~\Documents\R\win-library\3.6/00LOCK

Then, sequentially, installed these last packages (again).

  • curl
  • fansi
  • backports

Installed after that last package reinstall. Can't imagine that is how it should work!

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

5 participants