My app is deployed on shinyapps and I am using read.table to connect to an API like so:
(I am masking the URL of the API because the data is confidential)
ds_file = '*****'
ds = read.table(file=ds_file)
Locally, it runs perfectly but when I deploy on shinyapps.io the logs show:
Warning in open.connection(file, "rt") :
URL '': status was 'Peer certificate cannot be authenticated with given CA certificates'
Error in open.connection: cannot open the connection to '*'
Error in open.connection(file, "rt") :
cannot open the connection to '********'