install quantstrat for R latest R version ()

jonas picture jonas · Jul 3, 2017 · Viewed 10.1k times · Source

I would like to install a package when using the latest R version in RStudio. In particular the quantstrat package Is that possible?

This is the R latest version I have 3.4.1

my error message:

Warning in install.packages :
  package ‘quantstrat’ is not available (for R version 3.4.1)

Answer

gaga5lala picture gaga5lala · Jul 19, 2017

Because quantstrat build-fail at R-Forge, you can't get the pre-build file(.tar.gz). You can get the code from github and build by yourself.

install.packages("devtools")
require(devtools)
install_github("braverock/blotter") # dependency
install_github("braverock/quantstrat")