Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [19s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(EML)
  > 
  > test_check("EML")
  [ FAIL 3 | WARN 3 | SKIP 8 | PASS 77 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • Interactive test (2)
  • On CRAN (3)
  • auto-simplifying units does not yet work (2)
  • file.exists("hf205-01-TPexp1.csv") is not TRUE (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-get_attributes.R:10:3): get_attributes returns attributes ───────
  Error in `dplyr::bind_rows(attributes)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─EML::get_attributes(x, eml) at test-get_attributes.R:10:2
    2. │ └─dplyr::bind_rows(attributes)
    3. │   ├─dplyr:::fix_call(vec_rbind(!!!dots, .names_to = .id))
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─vctrs::vec_rbind(!!!dots, .names_to = .id)
    6. ├─vctrs:::describe_repair(`<chr>`, `<chr>`)
    7. │ └─rlang::names_inform_repair(orig_names, names)
    8. │   └─rlang::inform(message = message, class = "rlib_message_name_repair")
    9. │     ├─base::withRestarts(...)
   10. │     │ └─base (local) withOneRestart(expr, restarts[[1L]])
   11. │     │   └─base (local) doWithOneRestart(return(expr), restart)
   12. │     └─base::signalCondition(cnd)
   13. │       ├─base::conditionMessage(cond)
   14. │       └─rlang:::conditionMessage.rlang_message(cond)
   15. │         └─rlang::cnd_message(c)
   16. │           └─rlang:::cnd_message_format(cnd, ...)
   17. │             └─rlang (local) cli_format(glue_escape(lines))
   18. │               └─rlang:::.rlang_cli_format(x, cli::format_message)
   19. │                 └─cli::cli_format(x, .envir = emptyenv())
   20. │                   └─cli:::fmt(...)
   21. │                     └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   22. │                       ├─base::do.call(app[[msg$type]], msg$args)
   23. │                       └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-30", class = NULL)
   24. │                         └─cli:::clii_bullets(app, text, id, class)
   25. │                           └─base::lapply(...)
   26. │                             └─cli (local) FUN(X[[i]], ...)
   27. │                               └─app$text(text[[i]])
   28. │                                 └─cli:::clii_text(app, text)
   29. │                                   └─app$xtext(text)
   30. │                                     └─cli:::clii__xtext(...)
   31. │                                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   32. │                                         └─base::lapply(pars, ansi_trimws)
   33. │                                           └─cli (local) FUN(X[[i]], ...)
   34. └─base::.handleSimpleError(...)
   35.   └─dplyr (local) h(simpleError(msg, call))
   36.     └─rlang::cnd_signal(cnd)
  ── Error (test-get_attributes.R:27:3): get_attributes returns attributes and factors ──
  Error in `dplyr::bind_rows(attributes)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─EML::get_attributes(x, eml) at test-get_attributes.R:27:2
    2. │ └─dplyr::bind_rows(attributes)
    3. │   ├─dplyr:::fix_call(vec_rbind(!!!dots, .names_to = .id))
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─vctrs::vec_rbind(!!!dots, .names_to = .id)
    6. ├─vctrs:::describe_repair(`<chr>`, `<chr>`)
    7. │ └─rlang::names_inform_repair(orig_names, names)
    8. │   └─rlang::inform(message = message, class = "rlib_message_name_repair")
    9. │     ├─base::withRestarts(...)
   10. │     │ └─base (local) withOneRestart(expr, restarts[[1L]])
   11. │     │   └─base (local) doWithOneRestart(return(expr), restart)
   12. │     └─base::signalCondition(cnd)
   13. │       ├─base::conditionMessage(cond)
   14. │       └─rlang:::conditionMessage.rlang_message(cond)
   15. │         └─rlang::cnd_message(c)
   16. │           └─rlang:::cnd_message_format(cnd, ...)
   17. │             └─rlang (local) cli_format(glue_escape(lines))
   18. │               └─rlang:::.rlang_cli_format(x, cli::format_message)
   19. │                 └─cli::cli_format(x, .envir = emptyenv())
   20. │                   └─cli:::fmt(...)
   21. │                     └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   22. │                       ├─base::do.call(app[[msg$type]], msg$args)
   23. │                       └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-60", class = NULL)
   24. │                         └─cli:::clii_bullets(app, text, id, class)
   25. │                           └─base::lapply(...)
   26. │                             └─cli (local) FUN(X[[i]], ...)
   27. │                               └─app$text(text[[i]])
   28. │                                 └─cli:::clii_text(app, text)
   29. │                                   └─app$xtext(text)
   30. │                                     └─cli:::clii__xtext(...)
   31. │                                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   32. │                                         └─base::lapply(pars, ansi_trimws)
   33. │                                           └─cli (local) FUN(X[[i]], ...)
   34. └─base::.handleSimpleError(...)
   35.   └─dplyr (local) h(simpleError(msg, call))
   36.     └─rlang::cnd_signal(cnd)
  ── Error (test-get_attributes.R:58:3): get_attributes works with references ────
  Error in `dplyr::bind_rows(attributes)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─EML::get_attributes(x, eml) at test-get_attributes.R:58:2
    2. │ └─dplyr::bind_rows(attributes)
    3. │   ├─dplyr:::fix_call(vec_rbind(!!!dots, .names_to = .id))
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─vctrs::vec_rbind(!!!dots, .names_to = .id)
    6. ├─vctrs:::describe_repair(`<chr>`, `<chr>`)
    7. │ └─rlang::names_inform_repair(orig_names, names)
    8. │   └─rlang::inform(message = message, class = "rlib_message_name_repair")
    9. │     ├─base::withRestarts(...)
   10. │     │ └─base (local) withOneRestart(expr, restarts[[1L]])
   11. │     │   └─base (local) doWithOneRestart(return(expr), restart)
   12. │     └─base::signalCondition(cnd)
   13. │       ├─base::conditionMessage(cond)
   14. │       └─rlang:::conditionMessage.rlang_message(cond)
   15. │         └─rlang::cnd_message(c)
   16. │           └─rlang:::cnd_message_format(cnd, ...)
   17. │             └─rlang (local) cli_format(glue_escape(lines))
   18. │               └─rlang:::.rlang_cli_format(x, cli::format_message)
   19. │                 └─cli::cli_format(x, .envir = emptyenv())
   20. │                   └─cli:::fmt(...)
   21. │                     └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   22. │                       ├─base::do.call(app[[msg$type]], msg$args)
   23. │                       └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-90", class = NULL)
   24. │                         └─cli:::clii_bullets(app, text, id, class)
   25. │                           └─base::lapply(...)
   26. │                             └─cli (local) FUN(X[[i]], ...)
   27. │                               └─app$text(text[[i]])
   28. │                                 └─cli:::clii_text(app, text)
   29. │                                   └─app$xtext(text)
   30. │                                     └─cli:::clii__xtext(...)
   31. │                                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   32. │                                         └─base::lapply(pars, ansi_trimws)
   33. │                                           └─cli (local) FUN(X[[i]], ...)
   34. └─base::.handleSimpleError(...)
   35.   └─dplyr (local) h(simpleError(msg, call))
   36.     └─rlang::cnd_signal(cnd)
  
  [ FAIL 3 | WARN 3 | SKIP 8 | PASS 77 ]
  Error: Test failures
  Execution halted