I am unable to install the dev version of purrr, even after restarting R/RStudio etc. I am pretty sure that the package is not in use when trying install it. Yet, I get this error. Anyone else experiencing something similar? Any help? Many thanks!
> devtools::install_github("tidyverse/purrr") Using github PAT from envvar GITHUB_PAT Initiating curl with CURL_SSL_BACKEND: openssl Downloading GitHub repo tidyverse/purrr@HEAD ✔ checking for file 'C:\Users\Roland\AppData\Local\Temp\Rtmpa2YcUz\remotes1acc14ee61d6\tidyverse-purrr-7788b48/DESCRIPTION' (503ms) ─ preparing 'purrr': (2.6s) ✔ checking DESCRIPTION meta-information ... ─ cleaning src ─ checking for LF line-endings in source and make files and shell scripts (412ms) ─ checking for empty or unneeded directories Removed empty directory 'purrr/man/macros' ─ building 'purrr_0.9000.0.9000.tar.gz' Warning: file 'purrr/cleanup' did not have execute permissions: corrected Warning: file 'purrr/configure' did not have execute permissions: corrected Installing package into ‘C:/Users/Roland/AppData/Local/R/win-library/4.2’ (as ‘lib’ is unspecified) * installing *source* package 'purrr' ... ERROR: cannot remove earlier installation, is it in use? * removing 'C:/Users/Roland/AppData/Local/R/win-library/4.2/purrr' * restoring previous 'C:/Users/Roland/AppData/Local/R/win-library/4.2/purrr' Warning in file.copy(lp, dirname(pkgdir), recursive = TRUE, copy.date = TRUE) : problem copying C:\Users\Roland\AppData\Local\R\win-library\4.2\00LOCK-purrr\purrr\libs\x64\purrr.dll to C:\Users\Roland\AppData\Local\R\win-library\4.2\purrr\libs\x64\purrr.dll: Permission denied Warning message: In i.p(...) : installation of package ‘C:/Users/Roland/AppData/Local/Temp/Rtmpa2YcUz/file1acc146e24cc/purrr_0.9000.0.9000.tar.gz’ had non-zero exit status