0

I am having some difficulties loading a R package lmSupport. No problem with the installation but once I try to load it this error message shows up:

Error: package or namespace load failed for ‘lmSupport’ in .doLoadActions(where, attach):
 error in load action .__A__.1 for package terra: loadModule(module = "spat", what = TRUE, env = ns, loadNow = TRUE): Unable to load module "spat": function 'Rcpp_precious_remove' not provided by package 'Rcpp'
In addition: Warning message:
package ‘lmSupport’ was built under R version 4.0.5

What is this error message about? Is it something to do with Rcpp? How can I resolve this? Thank you for any help!

cliu
  • 933
  • 6
  • 13

0 Answers0