Hello,
I work on Win 10 with R 4.2.2, RTools 4.2 and R Studio 2022.07.2. When I am deploying Shiny app which use rstanarm library and works perfectly on locale computer, I always get an error. I have tried to deploy my app also from Linux workstation and with various versions of R but always with the same error. Please help!
The Deploy Log starts with:
`Preparing to deploy application...DONE
Uploading bundle for application: 6623386...Detecting system locale ... en_US
DONE
Deploying bundle: 6631567 for application: 6623386 ...
Waiting for task: 1256327258
building: Parsing manifest
building: Building image: 7823121
building: Installing system dependencies
building: Fetching packages
building: Building package: rstanarm
################################ Begin Task Log ################################
[2022-12-13T12:57:32.985650109+0000] Execute script: packages/build/igraph.sh
- set -e
- apt-get update -qq
- apt-get install -y libglpk-dev
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libamd2 libbtf1 libcamd2 libccolamd2 libcholmod3 libcolamd2 libcxsparse3
libglpk40 libgmp-dev libgmpxx4ldbl libgraphblas3 libklu1 libldl2 libmetis5
libmongoose2 librbio2 libspqr2 libsuitesparse-dev libsuitesparseconfig5
libumfpack5
Suggested packages:
libiodbc2-dev gmp-doc libgmp10-doc libmpfr-dev
The following NEW packages will be installed:
libamd2 libbtf1 libcamd2 libccolamd2 libcholmod3 libcolamd2 libcxsparse3
libglpk-dev libglpk40 libgmp-dev libgmpxx4ldbl libgraphblas3 libklu1 libldl2
libmetis5 libmongoose2 librbio2 libspqr2 libsuitesparse-dev
libsuitesparseconfig5 libumfpack5
0 upgraded, 21 newly installed, 0 to remove and 43 not upgraded.
Need to get 10.2 MB of archives.
After this operation, 128 MB of additional disk space will be used.`
and ends with:
[2022-12-13T12:59:47.654793249+0000] Building R package: rstanarm (2.21.3) /mnt/packages/build /mnt "/opt/R/4.2.2/lib/R/bin/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/lm.stan g++ -std=gnu++14 -I"/opt/R/4.2.2/lib/R/include" -DNDEBUG -I"../inst/include" -I"/opt/R/4.2.2/lib/R/library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -I'/opt/R/4.2.2/lib/R/library/StanHeaders/include' -I'/opt/R/4.2.2/lib/R/library/rstan/include' -I'/opt/R/4.2.2/lib/R/library/BH/include' -I'/opt/R/4.2.2/lib/R/library/Rcpp/include' -I'/opt/R/4.2.2/lib/R/library/RcppEigen/include' -I'/opt/R/4.2.2/lib/R/library/RcppParallel/include' -I/usr/local/include
"/opt/R/4.2.2/lib/R/bin/Rscript" -e "RcppParallel::CxxFlags()"
"/opt/R/4.2.2/lib/R/bin/Rscript" -e "StanHeaders:::CxxFlags()"-fpic -g -O2 -c stan_files/lm.cc -o stan_files/lm.o "/opt/R/4.2.2/lib/R/bin/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/mvmer.stan g++ -std=gnu++14 -I"/opt/R/4.2.2/lib/R/include" -DNDEBUG -I"../inst/include" -I"/opt/R/4.2.2/lib/R/library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -I'/opt/R/4.2.2/lib/R/library/StanHeaders/include' -I'/opt/R/4.2.2/lib/R/library/rstan/include' -I'/opt/R/4.2.2/lib/R/library/BH/include' -I'/opt/R/4.2.2/lib/R/library/Rcpp/include' -I'/opt/R/4.2.2/lib/R/library/RcppEigen/include' -I'/opt/R/4.2.2/lib/R/library/RcppParallel/include' -I/usr/local/include
"/opt/R/4.2.2/lib/R/bin/Rscript" -e "RcppParallel::CxxFlags()"
"/opt/R/4.2.2/lib/R/bin/Rscript" -e "StanHeaders:::CxxFlags()"-fpic -g -O2 -c stan_files/mvmer.cc -o stan_files/mvmer.o "/opt/R/4.2.2/lib/R/bin/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/binomial.stan g++ -std=gnu++14 -I"/opt/R/4.2.2/lib/R/include" -DNDEBUG -I"../inst/include" -I"/opt/R/4.2.2/lib/R/library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -I'/opt/R/4.2.2/lib/R/library/StanHeaders/include' -I'/opt/R/4.2.2/lib/R/library/rstan/include' -I'/opt/R/4.2.2/lib/R/library/BH/include' -I'/opt/R/4.2.2/lib/R/library/Rcpp/include' -I'/opt/R/4.2.2/lib/R/library/RcppEigen/include' -I'/opt/R/4.2.2/lib/R/library/RcppParallel/include' -I/usr/local/include
"/opt/R/4.2.2/lib/R/bin/Rscript" -e "RcppParallel::CxxFlags()"
"/opt/R/4.2.2/lib/R/bin/Rscript" -e "StanHeaders:::CxxFlags()"-fpic -g -O2 -c stan_files/binomial.cc -o stan_files/binomial.o "/opt/R/4.2.2/lib/R/bin/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/count.stan g++ -std=gnu++14 -I"/opt/R/4.2.2/lib/R/include" -DNDEBUG -I"../inst/include" -I"/opt/R/4.2.2/lib/R/library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -I'/opt/R/4.2.2/lib/R/library/StanHeaders/include' -I'/opt/R/4.2.2/lib/R/library/rstan/include' -I'/opt/R/4.2.2/lib/R/library/BH/include' -I'/opt/R/4.2.2/lib/R/library/Rcpp/include' -I'/opt/R/4.2.2/lib/R/library/RcppEigen/include' -I'/opt/R/4.2.2/lib/R/library/RcppParallel/include' -I/usr/local/include
"/opt/R/4.2.2/lib/R/bin/Rscript" -e "RcppParallel::CxxFlags()"
"/opt/R/4.2.2/lib/R/bin/Rscript" -e "StanHeaders:::CxxFlags()"-fpic -g -O2 -c stan_files/count.cc -o stan_files/count.o "/opt/R/4.2.2/lib/R/bin/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/jm.stan g++ -std=gnu++14 -I"/opt/R/4.2.2/lib/R/include" -DNDEBUG -I"../inst/include" -I"/opt/R/4.2.2/lib/R/library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -I'/opt/R/4.2.2/lib/R/library/StanHeaders/include' -I'/opt/R/4.2.2/lib/R/library/rstan/include' -I'/opt/R/4.2.2/lib/R/library/BH/include' -I'/opt/R/4.2.2/lib/R/library/Rcpp/include' -I'/opt/R/4.2.2/lib/R/library/RcppEigen/include' -I'/opt/R/4.2.2/lib/R/library/RcppParallel/include' -I/usr/local/include
"/opt/R/4.2.2/lib/R/bin/Rscript" -e "RcppParallel::CxxFlags()"
"/opt/R/4.2.2/lib/R/bin/Rscript" -e "StanHeaders:::CxxFlags()"-fpic -g -O2 -c stan_files/jm.cc -o stan_files/jm.o "/opt/R/4.2.2/lib/R/bin/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/bernoulli.stan g++ -std=gnu++14 -I"/opt/R/4.2.2/lib/R/include" -DNDEBUG -I"../inst/include" -I"/opt/R/4.2.2/lib/R/library/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -I'/opt/R/4.2.2/lib/R/library/StanHeaders/include' -I'/opt/R/4.2.2/lib/R/library/rstan/include' -I'/opt/R/4.2.2/lib/R/library/BH/include' -I'/opt/R/4.2.2/lib/R/library/Rcpp/include' -I'/opt/R/4.2.2/lib/R/library/RcppEigen/include' -I'/opt/R/4.2.2/lib/R/library/RcppParallel/include' -I/usr/local/include
"/opt/R/4.2.2/lib/R/bin/Rscript" -e "RcppParallel::CxxFlags()"
"/opt/R/4.2.2/lib/R/bin/Rscript" -e "StanHeaders:::CxxFlags()" -fpic -g -O2 -c stan_files/bernoulli.cc -o stan_files/bernoulli.o ################################# End Task Log ################################# Error: Unhandled Exception: Child Task 1256327259 error: Unhandled Exception: HTTP 599: Timeout during request Execution halted