Error Information:
==> R CMD INSTALL --preclean --no-multiarch --with-keep.source rstudioProjectTemplate
* installing to library ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library’
Error:
! ERROR: no permission to install to directory ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library’
Backtrace:
▆
1. └─tools:::.install_packages()
Exited with status 1.
Description of issue
I'm trying to build a local package using the "CMD-Shift-B" shortcut on macos Ventura 13.1. The error is clearly related to not having the proper permissions on the directory: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library
. I know how to change permissions, but am posting here because I haven't run into this problem before. If anyone can explain what might have changed (my computer/settings, R, RStudio, ...) I would appreciate it. I'm hesitant to change what appear to be default permissions on a directory within /Library
.
System Information:
- OS Version: macos 13.1 (Ventura)
- R Version: 4.2.2
- RStudio Edition: Desktop
- RStudio Version: RStudio 2022.12.0+353 "Elsbeth Geranium" Release (7d165dcfc1b6d300eb247738db2c7076234f6ef0, 2022-12-03) for macOS
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2022.12.0+353 Chrome/102.0.5005.167 Electron/19.1.3 Safari/537.36