Recently, when I try to install R packages from github, I get the following error:
> remotes::install_github('r-lib/vroom')
Downloading GitHub repo r-lib/vroom@master
tar (child): gzip: Cannot exec: Permission denied
tar (child): Error is not recoverable: exiting now
/RTools/bin/tar: Child returned status 2
/RTools/bin/tar: Error is not recoverable: exiting now
External tar failed with `--force-local`, trying without
tar (child): gzip: Cannot exec: Permission denied
tar (child): Error is not recoverable: exiting now
/RTools/bin/tar: Child returned status 2
/RTools/bin/tar: Error is not recoverable: exiting now
I have RTools installed and accessible:
> devtools::find_rtools(T)
Scanning R CMD config CC...
cc_path: P:/RTools/mingw_64/bin/gcc
Architecture doesn't match
Scanning path...
ls: P:\RTools\bin\ls.exe
gcc_path: P:\RTools\mingw_64\bin\gcc.exe
VERSION.txt
Rtools version 3.5.0.4
Version: 3.5
Found compatible gcc on path
[1] TRUE
I'm running R 3.6.0 on a Windows 7 machine, without admin permissions. This issue has appeared quite recently, and I can't figure out why.
Thanks for help in advance