我的R程序开始于1月16日失败
quantmod::getDividends('BBY')
gives:
Error in vapply(parse(text = fr[, 2]), eval, numeric(1)) :
values must be length 1,
but FUN(X[[1]]) result is length 2
Yahoo Finance将拆分比率定界符从“ /”更改为“:”。例如,2比1的拆分为1/2,但现在为“ 2:1”。这破坏了getSplits()
和getDividends()
(称为getSplits()
)。
此问题已在现为CRAN的quantmod 0.4-16中修复。 Windows二进制文件应在未来几天内可用。