nmecsys / BETS

Package to obtain and analyze thousands of Brazilian economic time series
GNU General Public License v3.0
38 stars 13 forks source link

dbGetQuery Error #21

Open RGSRSILVA opened 1 year ago

RGSRSILVA commented 1 year ago

Every time i try to use the package i got the following error:

Quitting from lines 37-42 [unnamed-chunk-3] (business_cycle_dashboard.Rmd)
Error:
! unable to find an inherited method for function 'dbGetQuery' for signature '"NULL", "character"'
Backtrace:
 1. BETS::chart(ts = "iie_br", open = F, file = "iie_br")
 2. BETS:::draw.iie_br()
 3. BETS::BETSget("ST_iiebr")
 4. BETS:::get.series(code, from, to, data.frame = data.frame, frequency = frequency)
 5. DBI::dbGetQuery(...)
 6. methods (local) `<fn>`(`<list>`, `<stndrdGn>`, `<env>`)

The command I ran:

BETS::dashboard(type = "business_cycle", saveas = "survey.pdf") My R Version: R version 4.3.1 (2023-06-16 ucrt) -- "Beagle Scouts" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit) BETS 0.4.9

Thanks