Dear all,
I try to deploy my Shiny App, but I receive the error below. I feel it's related to the 'viridisLite' package and have tried to install a previous version of that package. But without results. I updated recently to R 4.0.0. My app works fine when run locally. R session info is provided below the error code.
EDIT: I've tried uploading a very basic app, like the one provided here: https://shiny.rstudio.com/articles/build.html. This also didn't work, but resulted in an error about the 'fastmap'-package instead of 'viridisLite'.
Preparing to deploy application...DONE
Uploading bundle for application: 2228858...DONE
Deploying bundle: 3093968 for application: 2228858 ...
Waiting for task: 724960486
building: Processing bundle: 3093968
building: Parsing manifest
building: Building image: 3451936
building: Installing system dependencies
error: Building package: viridisLite
################################ Begin Task Log ################################
[2020-05-02T15:53:35.120739984+0000] Execute script: packages/build/sys.sh
+ set -e
+ apt-get update -qq
+ apt-get install -y libapparmor-dev
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
libapparmor-dev
0 upgraded, 1 newly installed, 0 to remove and 41 not upgraded.
Need to get 67.8 kB of archives.
After this operation, 229 kB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapparmor-dev amd64 2.10.95-0ubuntu2.11 [67.8 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 67.8 kB in 0s (0 B/s)
Selecting previously unselected package libapparmor-dev:amd64.
(Reading database ... 119702 files and directories currently installed.)
Preparing to unpack .../libapparmor-dev_2.10.95-0ubuntu2.11_amd64.deb ...
Unpacking libapparmor-dev:amd64 (2.10.95-0ubuntu2.11) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libapparmor-dev:amd64 (2.10.95-0ubuntu2.11) ...
[2020-05-02T15:53:39.964224777+0000] Building R package: viridisLite (0.3.0)
/mnt/packages/build /mnt
/opt/R/4.0.0/lib/R/bin/exec/R: error while loading shared libraries: libpcre2-8.so.0: cannot open shared object file: No such file or directory
################################# End Task Log #################################
Error: Unhandled Exception: Child Task 724960487 failed: Error building image: Error building viridisLite (0.3.0). Build exited with non-zero status: 127
Execution halted
R session info:
R version 4.0.0 (2020-04-24)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] plotly_4.9.2.1 forcats_0.5.0 stringr_1.4.0 dplyr_0.8.5 purrr_0.3.4
[6] readr_1.3.1 tidyr_1.0.2 tibble_3.0.1 ggplot2_3.3.0 tidyverse_1.3.0
[11] shiny_1.4.0.2 rsconnect_0.8.16
loaded via a namespace (and not attached):
[1] Rcpp_1.0.4.6 lubridate_1.7.8 lattice_0.20-41 assertthat_0.2.1 digest_0.6.25
[6] packrat_0.5.0 mime_0.9 R6_2.4.1 cellranger_1.1.0 backports_1.1.6
[11] reprex_0.3.0 httr_1.4.1 pillar_1.4.3 rlang_0.4.5 lazyeval_0.2.2
[16] curl_4.3 readxl_1.3.1 rstudioapi_0.11 data.table_1.12.8 htmlwidgets_1.5.1
[21] munsell_0.5.0 broom_0.5.6 compiler_4.0.0 httpuv_1.5.2 modelr_0.1.7
[26] pkgconfig_2.0.3 askpass_1.1 htmltools_0.4.0 openssl_1.4.1 tidyselect_1.0.0
[31] viridisLite_0.3.0 fansi_0.4.1 crayon_1.3.4 dbplyr_1.4.3 withr_2.2.0
[36] later_1.0.0 grid_4.0.0 nlme_3.1-147 jsonlite_1.6.1 xtable_1.8-4
[41] gtable_0.3.0 lifecycle_0.2.0 DBI_1.1.0 magrittr_1.5 scales_1.1.0
[46] cli_2.0.2 stringi_1.4.6 fs_1.4.1 promises_1.1.0 xml2_1.3.1
[51] ellipsis_0.3.0 generics_0.0.2 vctrs_0.2.4 tools_4.0.0 glue_1.4.0
[56] hms_0.5.3 yaml_2.2.1 fastmap_1.0.1 colorspace_1.4-1 rvest_0.3.5
[61] haven_2.2.0