无法使用rsconnect验证r Shinyapps帐户

时间:2018-09-26 22:17:58

标签: r shiny shinyapps

尝试安装重新连接并使用R-shiny对其进行身份验证。但是,似乎找不到功能文件的大小。

这里是安装:

> install.packages("rsconnect", type = "source", dependencies = TRUE, repos = "http://cran.rstudio.com/")
Installing package into ‘/Users/~/Library/R/3.1/library’
(as ‘lib’ is unspecified)
trying URL 'http://cran.rstudio.com/src/contrib/rsconnect_0.8.8.tar.gz'
Content type 'application/x-gzip' length 245177 bytes (239 Kb)
opened URL
==================================================
downloaded 239 Kb

* installing *source* package ‘rsconnect’ ...
** package ‘rsconnect’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (rsconnect)

已下载的源包位于

/private/VAb/downloaded_packages

这是我尝试注册帐户时的错误。

rsconnect::setAccountInfo(name='me',
+                           token='token',
+                           secret='pass')
Error in inferCertificateContents(system.file("cert/shinyapps.io.pem",  : 
  could not find function "file.size"

0 个答案:

没有答案