I had the same problem with the packages: raster, tmap and sf.
Reinstalling the package Rcpp solved the problem:
install.packages('Rcpp')
library(Rcpp)
I had the same problem with the packages: raster, tmap and sf.
Reinstalling the package Rcpp solved the problem:
install.packages('Rcpp')
library(Rcpp)