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

gen_catalogue(): Error with the query "51*" (foreign trade) #21

Open
dakilian opened this issue Nov 13, 2023 · 1 comment
Open

gen_catalogue(): Error with the query "51*" (foreign trade) #21

dakilian opened this issue Nov 13, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dakilian
Copy link

The example in the description works (object <- gen_catalogue(code = "12*", detailed = T)) but the query object <- gen_catalogue(code = "51*", detailed = T) produces an error.
The rlang error message:

Error in `$<-`:
! Assigned data `apply(...)` must be compatible with existing data.
✖ Existing data has 79 rows.
✖ Assigned data has 0 rows.
ℹ Only vectors of size 1 are recycled.
Caused by error in `vectbl_recycle_rhs_rows()`:
! Can't recycle input of size 0 to size 79.

"51*" is listed as "Außenhandel" in the evas_list. I am not able to solve the problem. Can anyone reproduce the error and help? Thanks.

@KovaZo KovaZo self-assigned this Nov 16, 2023
@KovaZo
Copy link
Collaborator

KovaZo commented Jan 8, 2024

Hi @dakilian,

Thank you for using the function and your helpful input regarding this issue. We are working on a new release of the package to fix this male behavior. The error is reproducible, and we found a way to fix it.
Let me know if you need a version that works without the error (and you don`t want to wait for the new release).
I am happy to help.

Best,
Zoran

@yannikbuhl yannikbuhl added the bug Something isn't working label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants