RQuantLib包不适用于R 3.5.0

时间:2022-04-07 08:46:43

Has anyone else tried to load the RQuantLib package for R 3.5.0?

有没有其他人试图为R 3.5.0加载RQuantLib包?

I tried (which has worked before):

我试过(之前有效):

install.packages("drat", dependencies = TRUE)
drat::addRepo("ghrr")
install.packages("RQuantLib", type = "binary")

but get the error message:

但得到错误信息:

Warning: unable to access index for repository https://ghrr.github.io/drat/bin/windows/contrib/3.5:

cannot open URL 'https://ghrr.github.io/drat/bin/windows/contrib/3.5/PACKAGES' Warning message: package ‘RQuantLib’ is not available (for R version 3.5.0)

无法打开URL'https://ghrr.github.io/drat/bin/windows/contrib/3.5/PACKAGES'警告消息:包'RQuantLib'不可用(对于R版本3.5.0)

1 个解决方案

#1


0  

You can try this:

你可以试试这个:

library(devtools)
install_github("eddelbuettel/rquantlib")

Or equivalently (based on comment by Dirk Eddelbuette)

或等效(根据Dirk Eddelbuette的评论)

install.packages("RQuantLib", type="source")

#1


0  

You can try this:

你可以试试这个:

library(devtools)
install_github("eddelbuettel/rquantlib")

Or equivalently (based on comment by Dirk Eddelbuette)

或等效(根据Dirk Eddelbuette的评论)

install.packages("RQuantLib", type="source")