I'm trying to install and call the BasketballAnalyzeR package on RStudio (not in Conda) on a 2017 MacBook (updated). I think package installation is working but not when i use the library function.
- RStudio Version: 1.3.959
- OS Version: macOS Catalina 10.15.5
Here's what I see:
install.packages("BasketballAnalyzeR") trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/BasketballAnalyzeR_0.5.0.tgz' Content type 'application/x-gzip' length 2826492 bytes (2.7 MB) ================================================== downloaded 2.7 MB The downloaded binary packages are in /var/folders/mq/bzz01vj95w358hxs2tcc3wbr0000gn/T//RtmpHb3DG3/downloaded_packages library(BasketballAnalyzeR) > library(BasketballAnalyzeR)
I get these errors:
Error: package or namespace load failed for ‘BasketballAnalyzeR’ 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 ‘BasketballAnalyzeR’ was built under R version 4.0.2