I know similar questions have been asked again. However, I\'ve tried everything I found here and on google and nothing seems to work for me.
My code is the following
You might need to update your cacert.pem file. See here and here for links to other questions regarding this. I see this hasn't worked for other people using download.file()
, but this might using Curl directly. You can update your bundle file like so:
system( paste0( "curl http://curl.haxx.se/ca/cacert.pem -o " , tempdir() , "/cacert.pem" ) )
#Then you can use it like so
twitCred$handshake( cainfo = paste0( tempdir() , "/cacert.pem" ) )
HTH