Sto provando ad installare un pacchetto da github, ma continuo a ricevere un errore quando uso install_github
.errore impostazione certificato verifica ubicazioni, install_github
library(devtools) install_github(repo="swirl", username="ncarchedi") Installing github repo(s) swirl/master from ncarchedi Downloading swirl.zip from https://github.com/ncarchedi/swirl/archive/master.zip Error in function (type, msg, asError = TRUE) : error setting certificate verify locations: CAfile: /Library/Frameworks/R.framework/Versions/3.0/Resources/library/RCurl/CurlSSL/cacert.pem CApath: none
Ho provato ad installare diversi pacchetti (tra cui una versione aggiornata di ggmap), e ho sempre ottenere lo stesso errore. È deve avere qualcosa a che fare con RCurl, ma non capisco quale sia il problema o come risolverlo. Ho devtools (versione 1.3) e RCurl (versione 1.95-4.1). Sto eseguendo R versione 3.0.1 ("Good Sport") su mac.
I risultati di sessionInfo()
sessionInfo() R version 3.0.1 (2013-05-16) Platform: x86_64-apple-darwin10.8.0 (64-bit) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] RCurl_1.95-4.1 bitops_1.0-5 devtools_1.3 loaded via a namespace (and not attached): [1] digest_0.6.3 evaluate_0.4.3 httr_0.2 memoise_0.1 parallel_3.0.1 stringr_0.6.2 [7] tools_3.0.1 whisker_0.3-2
Sembra un problema di RCurl. Questo file esiste realmente: /Library/Frameworks/R.framework/Versions/3.0/Resources/library/RCurl/CurlSSL/cacert.pem? – Thomas
hmm, funziona per me su mac, 10.8.5. Questo commento sull'installazione di rcharts può essere utile https://github.com/ramnathv/rCharts/issues/135#issuecomment-20140615 – sckott
Sì, cosa dice @Thomas, hai installato libcurl? Prova a trovare curl-config sulla riga di comando per vedere se è installato, se non le istruzioni per l'installazione qui http://www.omegahat.org/RCurl/FAQ.html Anche se forse non avresti potuto installare RCurl senza ricciolo già installato ... – sckott