首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Shinyapps.io发布问题:缺少网络快照依赖库"PhantomJS“

Shinyapps.io发布问题:缺少网络快照依赖库"PhantomJS“
EN

Stack Overflow用户
提问于 2018-10-30 19:24:43
回答 1查看 682关注 0票数 2

当我将我的应用程序发布到shinyapps.io时,我发现了以下问题:

  • PhantomJS
  • 文件(con,"rb"):无法打开连接

输出pdf文件中的完整日志:

代码语言:javascript
复制
PhantomJS not found. You can install it with webshot::install phantomjs(). If it is installed, please make sure the phantomjs executable can be found via the PATH variable.
Warning in normalizePath(f2): path[1]="./webshot6c3d201217.pdf": No such file or directory 
Warning in file(con, "rb"): cannot open file ’./webshot6c3d201217.pdf’: No such file or directory
 Error in file(con, "rb"): cannot open the connection
A tibble: 0 x 2
... with 2 variables: group <chr>, sort.order <dbl>
PhantomJS not found. You can install it with webshot::install phantomjs(). If it is installed, please make sure the phantomjs executable can be found via the PATH variable.
Warning in normalizePath(f2): path[1]="./webshot6c23dc44d3.pdf": No such file or directory
Warning in file(con, "rb"): cannot open file ’./webshot6c23dc44d3.pdf’: No such file or directory
Error in file(con, "rb"): cannot open the connection

在本地闪亮的服务器上安装PhantomJS之后,我可以成功地创建PDF,但是,我不知道如何在shinyapps.io上解决它。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-11-05 20:26:57

来自RStudio:

对于shinyapps.io上的软件包缺少的任何系统依赖项,我们要求您在这里提交一个问题:https://github.com/rstudio/shinyapps-package-dependencies清楚地说明所需的依赖项以及您试图安装的特定包。如果这是紧急的,我们建议按照以下步骤提交一个拉请求:https://github.com/rstudio/shinyapps-package-dependencies/blob/master/CONTRIBUTING.md

我的后续行动:

https://github.com/rstudio/shinyapps-package-dependencies/pull/180

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/53071531

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档