Hello, all! Recently, getDividends() has been unable to find the function ".yahooURL()", throwing this error. Any tips?
Minimal, reproducible example
library(quantmod)
#> Carregando pacotes exigidos: xts
#> Carregando pacotes exigidos: zoo
#> Warning: package 'zoo' was built under R version 4.1.3
#>
#> Attaching package: 'zoo'
#> The following objects are masked from 'package:base':
#>
#> as.Date, as.Date.numeric
#> Carregando pacotes exigidos: TTR
#> Registered S3 method overwritten by 'quantmod':
#> method from
#> as.zoo.data.frame zoo
getDividends("PETR3.SA")
#> Error in .yahooURL(Symbol.name, from.posix, to.posix, "1d", "div"): não foi possível encontrar a função ".yahooURL"
Thanks for the report! I'm aware of this and have started working on a fix. This has to do with switching to the JSON endpoint (#362) and removing the CSV endpoint for Yahoo Finance.
Description
Hello, all! Recently, getDividends() has been unable to find the function ".yahooURL()", throwing this error. Any tips?
Minimal, reproducible example
Session Info