Hello,
While other packages are installed without problem so far, installation of devtools fails. I'm using Rstudio 1.2.5033, and R version 3.6.3 on Windows 10.
Here's what I get:
> install.packages("devtools")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘\\fs01/users/asafsa/R/win-library/3.6’
(as ‘lib’ is unspecified)
There is a binary version available but the source version is later:
binary source needs_compilation
devtools 2.2.2 2.3.0 FALSE
installing the source package ‘devtools’
trying URL 'https://cran.rstudio.com/src/contrib/devtools_2.3.0.tar.gz'
Content type 'application/x-gzip' length 375227 bytes (366 KB)
downloaded 366 KB
'\\fs01\users\asafsa'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
* installing *source* package 'devtools' ...
** package 'devtools' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in findpack(package, lib.loc) :
there is no package called 'devtools'
Calls: <Anonymous> -> findpack
Execution halted
ERROR: lazy loading failed for package 'devtools'
* removing '\\fs01/users/asafsa/R/win-library/3.6/devtools'
Warning in install.packages :
installation of package ‘devtools’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\asafsa\AppData\Local\Temp\RtmpGMYxFi\downloaded_packages’
Having read the first warning, I tried to install Rtools, but that failed too:
> install.packages("Rtools")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘\\fs01/users/asafsa/R/win-library/3.6’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘Rtools’ is not available (for R version 3.6.3)
What can I do with that, other than downgrading my R version?
Thanks!