I've recently been experiencing some issues with installing/loading packages. I'm not exactly sure what the cause was and what is going on. Let me provide an example.
Let's say I want to install/load the library psychmeta - I'll just write something like
And I'm greeted with this lovely error
Error: package or namespace load failed for ‘psychmeta’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘ellipsis’
I attempt to install that package, but I get the same result, which is super strange. So I run the following
And for whatever reason, ellipsis isn't there. So I run the following and get these results
> .libPaths()  "/Library/Frameworks/R.framework/Versions/4.0/Resources/library" > .Library  "/Library/Frameworks/R.framework/Resources/library"
This makes me think that there are two different libraries - One in which newly installed packages go and one in which library() command reads. Could someone help me resolve this discrepancy?
> sessionInfo() R version 4.0.0 (2020-04-24) Platform: x86_64-apple-darwin17.0 (64-bit) Running under: macOS Catalina 10.15.5 Matrix products: default BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib locale:  en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages:  stats graphics grDevices utils datasets methods base other attached packages:  glue_1.4.0 loaded via a namespace (and not attached):  Rcpp_188.8.131.52 assertthat_0.2.1 R6_2.4.1 magrittr_1.5 rlang_0.4.6 tools_4.0.0  compiler_4.0.0 pkgconfig_2.0.3