![]() I also removed and installed the tidyverse package but when I attempted to library the package, it failed to do so. The downloaded source packages are in **‘/private/var/folders/rk/6nnn8xqj1\_745xt79ztp\_vmc0000gn/T/Rtmpis7JUc/downloaded\_packages’** Installation of package ‘vctrs’ had non-zero exit status ![]() * removing ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/vctrs’ Xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrunĮRROR: compilation failed for package ‘vctrs’ Install.packages("vctrs", dependencies=TRUE, type="source") onAttach failed in attachNamespace() for 'tidyverse', details:Įrror: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc. ![]() Hence you were asking it the update the packages in library location R2jags which is most unlikely to exist on your R. That library location is given by the first argument (if not supplied it works on all known library locations for the current R session). ![]() However, when I library the package, I get this:Įrror: package or namespace load failed for ‘tidyverse’: update.packages () exists to update all outdated packages in a stated library location. When I examine the System Library on RStudio, I am to see tidyverse in the list. I decided to update my R 4.0.0 to 4.1.3 which was an improvement but I still have the same problem. I had updated my R to 4.0.0 but I was having such difficulty installing packages. In general we recommend you don't use apt install to update R, but to install multiple versions of R side-by-side, using the instructions at RStudio Install R - RStudio Documentation The reason for this recommendation is that once you update R, some of your older scripts could potentially break.
0 Comments
Leave a Reply. |