Here's my output of error messages when downlading blotter.
devtools::install_github("braverock/blotter")
Downloading GitHub repo braverock/blotter@master
from URL https://api.github.com/repos/braverock/blotter/zipball/master
WARNING: Rtools is required to build R packages, but no version of Rtools compatible with R 3.5.1 was found. (Only the following incompatible version(s) of Rtools were found:3.4,3.5)
Please download and install the appropriate version of Rtools from http://cran.r-project.org/bin/windows/Rtools/.
Installing blotter
"C:/Users/JWILLI~1/DOWNLO~1/R/R-35~1.1/bin/x64/R" --no-site-file --no-environ
--no-save --no-restore --quiet CMD INSTALL
"C:/Users/jwilliams/AppData/Local/temp/RtmpiIPxpQ/devtoolsd202f7c5bdd/braverock-blotter-bc75cf5"
--library="C:/Users/jwilliams/Downloads/R/R-3.5.1/library" --install-tests
installing source package 'blotter' ...
** libs
*** arch - i386
Warning in system(cmd) : 'make' not found
ERROR: compilation failed for package 'blotter'
removing 'C:/Users/jwilliams/Downloads/R/R-3.5.1/library/blotter'
In R CMD INSTALL
Installation failed: Command failed (1)
I'm focusing on the blotter package first because it is a dependency for quantstrat.
Ok I just uninstalled all the different Rtools and then reinstalled RTools35
I still get the same error messages. Any other ideas?
devtools::install_github("braverock/blotter")
Downloading GitHub repo braverock/blotter@master
from URL https://api.github.com/repos/braverock/blotter/zipball/master
WARNING: Rtools is required to build R packages, but no version of Rtools compatible with R 3.5.1 was found. (Only the following incompatible version(s) of Rtools were found:3.4,3.5)
Please download and install the appropriate version of Rtools from http://cran.r-project.org/bin/windows/Rtools/.
Installing blotter
"C:/Users/JWILLI~1/DOWNLO~1/R/R-35~1.1/bin/x64/R" --no-site-file --no-environ
--no-save --no-restore --quiet CMD INSTALL
"C:/Users/jwilliams/AppData/Local/temp/RtmpiIPxpQ/devtoolsd207b5e2c31/braverock-blotter-bc75cf5"
--library="C:/Users/jwilliams/Downloads/R/R-3.5.1/library" --install-tests
installing source package 'blotter' ...
** libs
*** arch - i386
Warning in system(cmd) : 'make' not found
ERROR: compilation failed for package 'blotter'
removing 'C:/Users/jwilliams/Downloads/R/R-3.5.1/library/blotter'
In R CMD INSTALL
Installation failed: Command failed (1)
it seems your path does not include the path to the RTools install. From what I read on other threads, you may need to tick a box on the install that adds your rtools install path to the system path.
I saw something about that. That option to add rtools install path to the system path is only available in Rtools34 and under to my knowledge. Rtools35 didn't give me the option when I installed it.
What you said makes sense though:
"it seems your path does not include the path to the RTools install"
Maybe since my working directory is C:/Users/jwilliams/Downlads that has something to do with it.