Error building Rcpp (1.0.13) when deploying shiny app

Hi,
I just wanted to deploy my first shiny app at shinyapps.io, which runs well locally. Unfortunately I get an error when deploying it, related to the package installation of Rcpp. Can anyone help?
Thanks!

Here the Console output:

── Preparing for deployment ─────────────────────────────────────────────────────────────────────────
✔ Re-deploying "macrophytes" using "server: shinyapps.io / username: k2nned-friedemann0von0lampe"
ℹ Looking up application with id "13744090"...
✔ Found application <https://k2nned-friedemann0von0lampe.shinyapps.io/macrophytes/>
ℹ Bundling 6 files: database_head_selected_2024-11-28.csv, database_species_selected_analysis_2024-11-28.csv, global.R, period_13_head.csv, server.R, and ui.R
ℹ Capturing R dependencies
✔ Found 45 dependencies
✔ Created 226,476b bundle
ℹ Uploading bundle...
✔ Uploaded bundle with id 9661287
── Deploying to server ──────────────────────────────────────────────────────────────────────────────
Waiting for task: 1499217794
  building: Building image: 11849793
  building: Building package: Rcpp
## Begin Task Log ###################################################################################
Quarto not found.
[2025-01-17T10:49:06.814553125+0000] Installing R package: R6 (2.5.1)
* installing to library ‘/usr/lib/R’
* installing *binary* package ‘R6’ ...
* DONE (R6)
[2025-01-17T10:49:07.517540788+0000] Building R package: Rcpp (1.0.13)
/mnt/packages/build /mnt
g++ -std=gnu++17 -I"/opt/R/4.4.2/lib/R/include" -DNDEBUG -I../inst/include/  -I/usr/local/include    -fpic  -g -O2   -c api.cpp -o api.o
g++ -std=gnu++17 -I"/opt/R/4.4.2/lib/R/include" -DNDEBUG -I../inst/include/  -I/usr/local/include    -fpic  -g -O2   -c attributes.cpp -o attributes.o
g++ -std=gnu++17 -I"/opt/R/4.4.2/lib/R/include" -DNDEBUG -I../inst/include/  -I/usr/local/include    -fpic  -g -O2   -c barrier.cpp -o barrier.o
* installing to library ‘/usr/lib/R’
* installing *source* package ‘Rcpp’ ...
** package ‘Rcpp’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0’
In file included from barrier.cpp:31:
barrier.cpp: In function ‘SEXPREC** get_vector_ptr(SEXP)’:
../inst/include/Rcpp/r/compat.h:34:26: error: ‘VECTOR_PTR_RO’ was not declared in this scope; did you mean ‘VECTOR_PTR’?
   34 | # define RCPP_VECTOR_PTR VECTOR_PTR_RO
      |                          ^~~~~~~~~~~~~
barrier.cpp:74:30: note: in expansion of macro ‘RCPP_VECTOR_PTR’
   74 |     return const_cast<SEXP*>(RCPP_VECTOR_PTR(x));                                                       // #nocov end
      |                              ^~~~~~~~~~~~~~~
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 #####################################################################################
Fehler: Unhandled Exception: child_task=1499217797 child_task_status=failed: Error building image: Error building Rcpp (1.0.13). Build exited with non-zero status: 1

This should be fixed in version 1.0.13-1. Please find a related GitHub issue here:

Thank you! I see, it always installs the version number that I have locally. A local update solved the problem.