compiling error with terra during publishing to shiny server

,

I got an error when I was trying to publish to the server

[2025-04-22T17:55:10.791576750+0000] Building R package: terra (1.8-21)

             from /usr/lib/R/Rcpp/include/Rcpp.h:69,
             from RcppModule.cpp:1:

building terra (1.8-21). Build exited with non-zero status: 1
Execution halted

Any insights?

Update Rcpp and it should work.

you are my hero, thanks so much