I'm trying to install
devtools on a new installation of R 3.6 on a Windows 10 machine inside of RStudio 1.2.1335, but I keep getting the follow error:
> install.packages('remotes') Installing package into ‘\\pna401f7070/<user>/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 remotes 2.0.4 2.1.0 FALSE installing the source package ‘remotes’ trying URL 'https://cran.rstudio.com/src/contrib/remotes_2.1.0.tar.gz' Content type 'application/x-gzip' length 131622 bytes (128 KB) downloaded 128 KB * installing *source* package 'remotes' ... ** package 'remotes' 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 'remotes' Calls: <Anonymous> -> findpack Execution halted ERROR: lazy loading failed for package 'remotes' * removing '\\pna401f7070/<user>/R/win-library/3.6/remotes' Warning in install.packages : installation of package ‘remotes’ had non-zero exit status The downloaded source packages are in ‘C:\Users\<user>\AppData\Local\Temp\RtmpAN2mrL\downloaded_packages’
I have RTools3.5 installed, and have confirmed that it's accessible by installing other packages from source. What are some things I can do to try to debug this issue?