Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error running the example! #3

Open
dmtrmv opened this issue Jun 6, 2023 · 1 comment
Open

error running the example! #3

dmtrmv opened this issue Jun 6, 2023 · 1 comment

Comments

@dmtrmv
Copy link

dmtrmv commented Jun 6, 2023

The example produces an error,

hicp <- get_data(key, filter)
Error in !is.na(obsAttrs.df) && ifelse(is.na(any(obsAttrs.df == "NULL")), :
'length = 2' in coercion to 'logical(1)'

@SlevinKelevraAU
Copy link

The example produces an error,

hicp <- get_data(key, filter)
Error in !is.na(obsAttrs.df) && ifelse(is.na(any(obsAttrs.df == "NULL")), :
'length = 2' in coercion to 'logical(1)'

Running the following, using 'ecb' version 0.4.2 on R version 4.3.2 (2023-10-31) under macOS Sonoma 14.4.1, works fine for me:

library(ecb)
key <- "ICP.M.DE+FR+ES+IT+NL+U2.N.000000+XEF000.4.ANR"
filter <- list(lastNObservations = 12, detail = "full")
hicp <- get_data(key, filter)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants