Installing tidyverse package in RStudio

I'm trying to install and call the tidyverse package on RStudio (not in Conda) on a 2017 MacBook (updated).

System Information:

  • RStudio Version: 1.3.959
  • OS Version: macOS Catalina 10.15.5

Here's what I see:

#REPREX

install.packages("tidyverse")

And here are the errors:

Error: package or namespace load failed for ‘tidyverse’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/libs/Rcpp.so':
  dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/libs/Rcpp.so, 6): Symbol not found: _EXTPTR_PTR
  Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/libs/Rcpp.so
  Expected in: /Library/Frameworks/R.framework/Resources/lib/libR.dylib
 in /Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/libs/Rcpp.so
In addition: Warning message:
package ‘tidyverse’ was built under R version 4.0.2

A post was merged into an existing topic: BasketballAnalyzeR Installation Problems