devtools::install_github Error in function (type, msg, asError = TRUE) :

前端 未结 3 1425
刺人心
刺人心 2020-12-30 11:50

I\'m trying to install a package via devtools::install_github for the first time

l@np350v5c:~$ R --vanilla
> library(devtools)

Attaching pac         


        
相关标签:
3条回答
  • 2020-12-30 12:40

    Actually, I had the same issue and after installing RCurl it worked.

    In order to install RCurl in ubuntu, write the following in your terminal:

    sudo apt-get install libcurl4-openssl-dev
    

    Then in R:

    install.packages('RCurl')
    

    And that's it!

    0 讨论(0)
  • 2020-12-30 12:49

    If you can't install the appropriate version of libcurl, you can try using the "install_git" function instead of "install_github". For example,

    library(devtools)
    install_git("https://github.com/hadley/devtools.git")
    

    That worked for me.

    0 讨论(0)
  • 2020-12-30 12:52

    Sorry, this was a bug in the r-cran-rcurl package in Debian. We eventually corrected it in the Debian distribution unstable, testing, and more recently stable (Jessie 8.2). In Ubuntu it is fixed in wily. Sorry for the problem, and thanks for using Debian or its derivatives !

    0 讨论(0)
提交回复
热议问题