'Problem with getting data using Quandl in RStudio Server Pro

When I try to get data from NASDAQ using the Quandl package in R Studio Server Pro, I'm getting the following error:

Error in curl::curl_fetch_memory(url, handle = handle) : 
  Peer's certificate issuer has been marked as not trusted by the user.

Has anyone who used Quandl in R Studio Server Pro ever seen this issue before? How were you able to resolve the problem?

Here is the code I'm using to retrieve the data:

Quandl.api_key("API KEY") 

silver <- Quandl::Quandl("LBMA/SILVER", collapse = "monthly", start_date =Sys.Date() - lubridate::years(2),end_date = Sys.Date(),   type = "ts")

This code works on my local machine but when I use R Studio Server Pro I get the error above.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source