Error Building Terra despite updates

,

Hello all,
I have published Shinyr apps in the past and have not had this issue. Each time I try to publish my app, the process stalls out on "building: Building package: terra" and then finally I get an error:

Error: Unhandled Exception: child_task=1558954915 child_task_status=failed: Error building image: Error building terra (1.8-29). Build exited with non-zero status: 1
Execution halted

I have updated both R and Rstudio to the latest versions and still the problem persists. The app works perfectly within Rstudio. What could the problem be? Thank you and let me know if you need more info or screenshots, etc.

The most recent version of {terra} is 1.8-54: GitHub - rspatial/terra: R package for spatial data handling https://rspatial.github.io/terra/reference/terra-package.html so definitely update that and you might also have a version of {Rcpp} that was causing problems on shinyapps, so update that for good measure and try again. Updating R and Rstudio won't have any effect (unless you increase R the version by > 0.1 forcing reinstall of all your packages) - {renv} captures the version of packages installed on your device and then attempts to reinstall those on shinyapps.