Installation of ggplot2 fails because of failed to lock fastr library directory
on macOS
#192
Labels
failed to lock fastr library directory
on macOS
#192
Repro: 'install.packages("ggplot2")'
ERROR: failed to lock directory ‘/Users/tinus.chen/R/x86_64-apple-darwin-library/fastr-21.0.0.2-3.6’ for modifying
Here's the error:
I was able to fix this by running the following commands as a workaround:
install.packages("ggplot2", INSTALL_opts = c('--no-lock'))
The same situation will be encountered when installing another package 'gtable'. This problem can be also solved using the above method.
Env:
The text was updated successfully, but these errors were encountered: