Can't install devtools package after R upgrade

I just upgraded to R 3.2.1 and can no longer install the devtools package.

I am getting the following output:

install.packages('devtools')

trying URL 'http://cran.ma.imperial.ac.uk/bin/macosx/mavericks/contrib/3.2/devtools_1.8.0.tgz'
    Content type 'application/x-gzip' length 324861 bytes (317 KB)
    ==================================================
    downloaded 317 KB


    The downloaded binary packages are in
        /var/folders/zd/112dtz1x3575n4z10cm7nflw0000gn/T//RtmpzsBSdp/downloaded_packages

      

Download library:

library('devtools')

      

Error in loadNamespace (j <- i [[1L]], c (lib.loc, .libPaths ()), versionCheck = vI [[j]]): no package named 'curl Error: package or namespace error for 'devtools

I read the following post - Problems installing devtools packages - it looks like you have a solution for Linux (?) But I already have it curl

on my system and I can't see how it helps me.

+3


source to share


1 answer


The error message says:

no package called 'curl

Run:



install.packages(c('devtools','curl'))

      

Then try library('devtools')

If any other error persists, please update the message.

+14


source







All Articles