Skip to content

Cannot install the bbplot #19

Description

@khalidmeister

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'

Activity

  1. munichrocker commented on Apr 7, 2020

    @munichrocker

    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.
  2. DAbless04 commented on May 9, 2020

    @DAbless04

    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.

  3. panurusbiarmicus commented on May 29, 2020

    @panurusbiarmicus

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

  4. hartatsr4 commented on Aug 16, 2020

    @hartatsr4

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions