Hans,
you have to re-install *all* packages whenever you upgrade R. R only guarantees compatibility between patch versions (i.e. upgrading from R 4.0.0 to 4.0.1 does not require re-install, but from R 4.0.0 to R 4.1.0 does). That was always the case on all platforms, it's not new. Note that the R Mac GUI makes the upgrade easier - in the Package Manager you can select to install package from previous R version if you use the system location. Otherwise you can always use simply install.packages(rownames(installed.packages("path-to-old-library"))) Cheers, Simon > On 26/05/2021, at 7:58 AM, Hans W <hwborch...@gmail.com> wrote: > > Following this tip I had to remove and reinstall one after the other > the following packages: > > rvest, rlang, magrittr, xml2, stringi, ellipsis, > fansi, utf8, vctrs, tibble, Rcpp, lbfgs, and GauPro > > each time restarting R to make sure. Then the application worked again. > Does this mean I would be better off deleting all of my installed > packages and starting a fresh R? > Was this even a requirement for installing R version 4.1 on macOS -- a > requirement I didn't get? > > Thanks for the help --HW > > > On Tue, 25 May 2021 at 20:31, Kevin Ushey <kevinus...@gmail.com> wrote: >> >> This error: >> >> Error: package or namespace load failed for ‘rlang’ in >> get(Info[i, 1], envir = env): lazy-load database >> '/Users/hwb/Library/R/4.0/library/rlang/R/rlang.rdb' is corrupt >> In addition: Warning message: >> In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1 >> >> is commonly seen when reinstalling an already-installed package. See >> https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16644 for more >> details. >> >> The resolution is to restart R after reinstalling an already-loaded package. >> >> Best, >> Kevin > > _______________________________________________ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac