Unable to authenticate R shinyapp account

Installed rsconnect like this. It installs.

install.packages("rsconnect", type = "source", dependencies = TRUE, repos = "http://cran.rstudio.com/")

Then I try to authenticate my account, but get this error from this code.

code:

> rsconnect::setAccountInfo(name='me',  token='token', secret='pass')

error:
Error in inferCertificateContents(system.file("cert/shinyapps.io.pem", :
could not find function "file.size"

That's part of base R. What version of R are you using? When did you install it?

Thanks! Updated my R version from 3.1 to 3.3 and it worked.

1 Like