When installing an R package from GitHub using devtools::install_github(), the following error was returned:
devtools::install_github()
ERROR: failed to lock directory ‘/L
Try removing /Library/Frameworks/R.framework/Versions/3.3/Resources/library/00LOCK-jrosen48-prcr-4f6f783
/Library/Frameworks/R.framework/Versions/3.3/Resources/library/00LOCK-jrosen48-prcr-4f6f783
Remove using rm command from your command line:
rm
command line
:$ rm -rf /Library/Frameworks/R.framework/Versions/3.3/Resources/library/00LOCK-jrosen48-prcr-4f6f783
Then install the package again.