Unable to authenticate R shinyapp account

shinyappsio

#1

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"


#2

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


#3

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