我从闪亮的库中使用runApp()绝对没有问题。一切正常,我可以在我的应用程序上工作。然而,如果我尝试运行deployApp(),我总是在尝试构建shinyEvents(2.1)时被拒绝。
错误消息msg与此超重流程线程有点类似:deployApp Error building taskscheduleR
不幸的是,答案并没有真正为我提供很多见解,因为我无法交换shinyEvents库来换取另一个 - 我正在为我的论文编写一个RTutor问题集,这个包依赖于shinyEvents。
这是我的具体错误:
错误:未处理的异常:子任务363233459失败:构建映像时出错:
构建shinyEvents(2.1)时出错。构建以非零状态退出:1
到目前为止,我所做的是尝试重新安装多个库,以及尝试不同版本的R和RStudio。我还尝试通过RStudio手动发布它,在运行应用程序时,会发生同样的错误。我尝试了不同的电脑并完全擦拭R - 似乎没什么用。
我还可以提供完整的日志:
> library(rsconnect)
> deployApp(appName="RTutorOnlineDisclosure")
Preparing to deploy application...DONE
Uploading bundle for application: 167013...DONE
Deploying bundle: 762809 for application: 167013 ...
Waiting for task: 363233458
building: Parsing manifest
building: Building image: 752009
building: Installing system dependencies
building: Fetching packages
building: Building package: shinyEvents
Begin Task Log
[2017-03-25T12:13:00.601152176+0000] Execute script: packages/build/V8.sh
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libv8-3.14.5
The following NEW packages will be installed:
libv8-3.14.5 libv8-dev
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 1247 kB of archives.
After this operation, 4628 kB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/universe libv8- 3.14.5 amd64 3.14.5.8-5ubuntu2 [1189 kB]
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/universe libv8-dev amd64 3.14.5.8-5ubuntu2 [57.6 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 1247 kB in 0s (36.0 MB/s)
Selecting previously unselected package libv8-3.14.5.
(Reading database ... 103066 files and directories currently installed.)
Preparing to unpack .../libv8-3.14.5_3.14.5.8-5ubuntu2_amd64.deb ...
Unpacking libv8-3.14.5 (3.14.5.8-5ubuntu2) ...
Selecting previously unselected package libv8-dev.
Preparing to unpack .../libv8-dev_3.14.5.8-5ubuntu2_amd64.deb ...
Unpacking libv8-dev (3.14.5.8-5ubuntu2) ...
Setting up libv8-3.14.5 (3.14.5.8-5ubuntu2) ...
Setting up libv8-dev (3.14.5.8-5ubuntu2) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
[2017-03-25T12:13:14.897318682+0000] Installing R package: sourcetools (0.1.5)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘sourcetools’ ...
* DONE (sourcetools)
[2017-03-25T12:13:15.258827517+0000] Installing R package: stringi (1.1.3)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘stringi’ ...
* DONE (stringi)
LOTS OF INSTALLATIONS.....
[2017-03-25T12:13:25.538176973+0000] Installing R package: data.table (1.10.4)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘data.table’ ...
* DONE (data.table)
[2017-03-25T12:13:25.959408111+0000] Installing R package: lmtest (0.9-35)
* installing to library ‘/usr/local/lib/R/site-library’
* installing *binary* package ‘lmtest’ ...
* DONE (lmtest)
[2017-03-25T12:13:26.2253965 End Task Log
Error: Unhandled Exception: Child Task 363233459 failed: Error building image:
Error building shinyEvents (2.1). Build exited with non-zero status: 1##