See 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 that newer version is now on CRAN, so if you install.packages("Rcpp")
and retry it should go smoothly.