devtools::install_github(repo)
keeps installing rtools35.exe
I try installing a new author account repository from 'author/newrepo'and keep getting R wants to install new buildtoools message. Then the installation exits. Rtools35.exe installation has already been completed. I am using older version of R (3.5.0) currentlyy because RTools is not available for the 3.5.1 update
`devtools::install_github(repo)`
Downloading bitbucket repo author/repo@master
trying URL 'https://cran.rstudio.com/bin/windows/Rtools/Rtools35.exe'
Content type 'application/x-msdos-program' length 108622512 bytes (103.6
MB)
downloaded 103.6 MB
Error in system(full, intern = TRUE, ignore.stderr = quiet, ...) :
running command '"G:/Program Files/R/R-3.5.0/bin/x64/R" --no-site-file
--no-en viron --no-save --no-restore --quiet CMD config CC' had status 2
I previously tried remotes
in 3.5.1 and turned on Quiet, turned of Dependencies
remotes::install_bitbucket(account/repo,author,quiet=TRUE,dependencies=FALSE)
but i keep getting Rtools after Rtools errors.
Should i try source()
Should I wait for a completed zip of the new author repo?
source by author is available in ~src/master
on bitbucket
The following code works to ensure rtools35.exe is recognized. Note that you have to install
pkgbuild
to install the tools after thedevtools
loads , loadpkgbuild
and thenfind_tools()
resolves to true allowing the source you wish to be installed