I'm having issues re-publishing an RShiny app I have published (and re-published) previously.
The app runs fine locally (in the RStudio preview and if I run it in my browser), but when I try to re-publish it, I get this error and the re-publication process aborts.
make: *** [/opt/R/4.4.2/lib/R/etc/Makeconf:204: barrier.o] Error 1
ERROR: compilation failed for package ‘Rcpp’
* removing ‘/usr/lib/R/Rcpp’## End Task Log ################################################################
Error: Unhandled Exception: child_task=1510757110 child_task_status=failed: Error building image: Error building Rcpp (1.0.13). Build exited with non-zero status: 1
Execution halted
Here is a notepad file with the entire deployment process output incase there is something useful there that I don't know about.
I initially thought it was a one-off issue, but I've tried re-publishing the app over the past two months now and I keep getting the same error.
The GitHub linked on the app has a lot of files, but the actual app code is this file.
I tried re-reunning the app, waiting to see if this issue would be fixes on Shiny's end, and checking that my Rcpp package is up to date
I'm having issues re-publishing an RShiny app I have published (and re-published) previously.
The app runs fine locally (in the RStudio preview and if I run it in my browser), but when I try to re-publish it, I get this error and the re-publication process aborts.
make: *** [/opt/R/4.4.2/lib/R/etc/Makeconf:204: barrier.o] Error 1
ERROR: compilation failed for package ‘Rcpp’
* removing ‘/usr/lib/R/Rcpp’## End Task Log ################################################################
Error: Unhandled Exception: child_task=1510757110 child_task_status=failed: Error building image: Error building Rcpp (1.0.13). Build exited with non-zero status: 1
Execution halted
Here is a notepad file with the entire deployment process output incase there is something useful there that I don't know about.
I initially thought it was a one-off issue, but I've tried re-publishing the app over the past two months now and I keep getting the same error.
The GitHub linked on the app has a lot of files, but the actual app code is this file.
I tried re-reunning the app, waiting to see if this issue would be fixes on Shiny's end, and checking that my Rcpp package is up to date
Share Improve this question asked yesterday Siobhan SchenkSiobhan Schenk 334 bronze badges New contributor Siobhan Schenk is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.1 Answer
Reset to default 2See https://forum.posit.co/t/error-building-rcpp-1-0-13-when-deploying-shiny-app/196970 There was a problem in v1.0.13 of Rcpp, but it has been fixed and the newer version is now on CRAN. So if you run install.packages("Rcpp") and retry, it should go smoothly.