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

Unit tests failing #19

Open
hrodmn opened this issue Jan 31, 2023 · 0 comments
Open

Unit tests failing #19

hrodmn opened this issue Jan 31, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@hrodmn
Copy link
Contributor

hrodmn commented Jan 31, 2023

When I run devtools::test() I get two unit test failures:

Error (test-tidy_FIA.R:73): tidy_fia produces expected output when postgis = FALSE
Error in `purrr::map(.x = table_names, .f = ~stack_tables(table_name = .x, 
    fia_db_files = fia_db_files))`:In index: 1.
Caused by error in `enc2utf8()`:
! argument is not a character vector
Backtrace:
  1. tidyFIA::tidy_fia(aoi = aoi, postgis = FALSE, table_names = want_tables)
       at test-tidy_FIA.R:73:2
 14. vroom::vroom(...)
 15. vroom:::standardise_path(file)
 16. base::as.list(enc2utf8(path))
Error (test-tidy_FIA.R:191): tidy_fia produces expected output when aoi is NULL and postgis = FALSE
Error in `purrr::map(.x = table_names, .f = ~stack_tables(table_name = .x, 
    fia_db_files = fia_db_files))`:In index: 1.
Caused by error in `enc2utf8()`:
! argument is not a character vector
Backtrace:
  1. tidyFIA::tidy_fia(...)
       at test-tidy_FIA.R:191:2
 14. vroom::vroom(...)
 15. vroom:::standardise_path(file)
 16. base::as.list(enc2utf8(path))
@hrodmn hrodmn self-assigned this Jan 31, 2023
@hrodmn hrodmn added the bug Something isn't working label Jan 31, 2023
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

1 participant