It seems a lot of people are facing the same issue while trying to upload a research on rpubs.com using the Publish button in RStudio.
Error in function (type, msg, asError = TRUE) :SSL certificate problem, verify that the CA cert is OK. Details:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failedCalls: rpubsUpload … <Anonymous> -> .postForm -> .Call -> <Anonymous> -> funExecution halted
- Make sure you have the packages “bitops” and “Rcurl” installed
- In your RProfile file ( C:\Program Files\R\R-3.1.1\library\base\R) add these 2 lines:
options(rpubs.upload.method = "internal")
options(RCurlOptions = list(verbose = FALSE, capath = system.file("CurlSSL", "cacert.pem", package = "RCurl"), ssl.verifypeer = FALSE))
It worked for me!
- Coursera Reproducible Research Forum