, , , , ,

When I am trying to publish my work in R Pubs I am getting an error:

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 failed
Calls: rpubsUpload ... <Anonymous> -> .postForm -> .Call -> <Anonymous> -> fun
Execution halted

How to resolve it ?


1. Go to \library\base\R folder of installation directory and locate .Rprofile

2. Open .Rprofile file in text editor

3. Go to end of the text in the file and add the following line in it and save the file

options(rpubs.upload.method = “internal”)

4.  Restart R or RStudio and try to publish on RPUB.

It should work.