I had the same problem with the packages: raster, tmap and sf.
Reinstalling the package Rcpp solved the problem:
install.packages('Rcpp')
library(Rcpp)
Related Contents:
- R install.packages returns “failed to create lock directory”
- Rcpp pass by reference vs. by value
- Using Rcpp within parallel code via snow to make a cluster
- Replace negative values by zero
- Understanding the contents of the Makevars file in R (macros, variables, ~/.R/Makevars and pkg/src/Makevars)
- Cannot compile R packages with c++ code after updating to macOS Catalina
- RcppArmadillo pass user-defined function
- Practical limits of R data frame
- Error in loadNamespace(name) : there is no package called ‘Rcpp’
- Rcpp function check if missing value
- Dynamic linking with rpath not working under Ubuntu 17.10
- Call a function from c++ via environment Rcpp
- How to sum a variable by group
- What exactly is copy-on-modify semantics in R, and where is the canonical source?
- Shading a kernel density plot between two points.
- How can I plot with 2 different y-axes?
- Better explanation of when to use Imports/Depends
- Split violin plot with ggplot2
- How to merge 2 vectors alternating indexes?
- Special variables in ggplot (..count.., ..density.., etc.)
- Customize axis labels
- Split date-time column into Date and time variables
- How to put labels over geom_bar in R with ggplot2
- How to efficiently calculate distance between pair of coordinates using data.table :=
- R Shiny: Handle Action Buttons in Data Table
- Get “embedded nul(s) found in input” when reading a csv using read.csv()
- What does the dplyr period character “.” reference?
- How to center stacked percent barchart labels
- Why would R use the “L” suffix to denote an integer?
- r knitr chunk options for figure height / width are not working
- Printing multiple ggplots into a single pdf, multiple plots per page
- Perform a semi-join with data.table
- How do I get the classes of all columns in a data frame? [duplicate]
- Opening Shiny App directly in the default browser
- Plot polynomial regression curve in R
- multiple graphs in one canvas using ggplot2
- Shiny slider on logarithmic scale
- Divide each value by the sum of values by group
- Counting number of instances of a condition per row R [duplicate]
- Control point border thickness in ggplot
- Concatenate rows of a data frame
- Efficient and accurate age calculation (in years, months, or weeks) in R given birth date and an arbitrary date
- Multiple ggplots of different sizes
- Fill region between two loess-smoothed lines in R with ggplot
- R sum a variable by two groups [duplicate]
- Concatenate several columns to comma separated strings by group
- Using different scales as fill based on factor
- Generating Multiple Plots in ggplot by Factor
- Select last non-NA value in a row, by row
- Convert two-digit years to four-digit years with correct century