Running 'testthat.R' [25s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(spbabel)
  > 
  > test_check("spbabel")
  [ FAIL 2 | WARN 1 | SKIP 1 | PASS 41 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-spFromTable.R:19:1): (code run outside of `test_that()`) ────────
  Error in `dplyr::bind_cols(tibble(br), tibble(br), xy)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─spbabel::sptable(mpoint1) at test-spFromTable.R:19:0
    2. ├─spbabel:::sptable.SpatialMultiPointsDataFrame(mpoint1)
    3. │ └─spbabel:::.pointsGeom(x, ...)
    4. │   └─dplyr::bind_cols(tibble(br), tibble(br), xy)
    5. │     ├─dplyr:::fix_call(vec_cbind(!!!dots, .name_repair = .name_repair))
    6. │     │ └─base::withCallingHandlers(...)
    7. │     └─vctrs::vec_cbind(!!!dots, .name_repair = .name_repair)
    8. ├─vctrs:::describe_repair(`<chr>`, `<chr>`)
    9. │ └─rlang::names_inform_repair(orig_names, names)
   10. │   └─rlang::inform(message = message, class = "rlib_message_name_repair")
   11. │     ├─base::withRestarts(...)
   12. │     │ └─base (local) withOneRestart(expr, restarts[[1L]])
   13. │     │   └─base (local) doWithOneRestart(return(expr), restart)
   14. │     └─base::signalCondition(cnd)
   15. │       ├─base::conditionMessage(cond)
   16. │       └─rlang:::conditionMessage.rlang_message(cond)
   17. │         └─rlang::cnd_message(c)
   18. │           └─rlang:::cnd_message_format(cnd, ...)
   19. │             └─rlang (local) cli_format(glue_escape(lines))
   20. │               └─rlang:::.rlang_cli_format(x, cli::format_message)
   21. │                 └─cli::cli_format(x, .envir = emptyenv())
   22. │                   └─cli:::fmt(...)
   23. │                     └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   24. │                       ├─base::do.call(app[[msg$type]], msg$args)
   25. │                       └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-30", class = NULL)
   26. │                         └─cli:::clii_bullets(app, text, id, class)
   27. │                           └─base::lapply(...)
   28. │                             └─cli (local) FUN(X[[i]], ...)
   29. │                               └─app$text(text[[i]])
   30. │                                 └─cli:::clii_text(app, text)
   31. │                                   └─app$xtext(text)
   32. │                                     └─cli:::clii__xtext(...)
   33. │                                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   34. │                                         └─base::lapply(pars, ansi_trimws)
   35. │                                           └─cli (local) FUN(X[[i]], ...)
   36. └─base::.handleSimpleError(...)
   37.   └─dplyr (local) h(simpleError(msg, call))
   38.     └─rlang::cnd_signal(cnd)
  ── Error (test-sptable.R:21:1): (code run outside of `test_that()`) ────────────
  Error in `dplyr::bind_cols(tibble(br), tibble(br), xy)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─spbabel::sptable(mpoint1) at test-sptable.R:21:0
    2. ├─spbabel:::sptable.SpatialMultiPointsDataFrame(mpoint1)
    3. │ └─spbabel:::.pointsGeom(x, ...)
    4. │   └─dplyr::bind_cols(tibble(br), tibble(br), xy)
    5. │     ├─dplyr:::fix_call(vec_cbind(!!!dots, .name_repair = .name_repair))
    6. │     │ └─base::withCallingHandlers(...)
    7. │     └─vctrs::vec_cbind(!!!dots, .name_repair = .name_repair)
    8. ├─vctrs:::describe_repair(`<chr>`, `<chr>`)
    9. │ └─rlang::names_inform_repair(orig_names, names)
   10. │   └─rlang::inform(message = message, class = "rlib_message_name_repair")
   11. │     ├─base::withRestarts(...)
   12. │     │ └─base (local) withOneRestart(expr, restarts[[1L]])
   13. │     │   └─base (local) doWithOneRestart(return(expr), restart)
   14. │     └─base::signalCondition(cnd)
   15. │       ├─base::conditionMessage(cond)
   16. │       └─rlang:::conditionMessage.rlang_message(cond)
   17. │         └─rlang::cnd_message(c)
   18. │           └─rlang:::cnd_message_format(cnd, ...)
   19. │             └─rlang (local) cli_format(glue_escape(lines))
   20. │               └─rlang:::.rlang_cli_format(x, cli::format_message)
   21. │                 └─cli::cli_format(x, .envir = emptyenv())
   22. │                   └─cli:::fmt(...)
   23. │                     └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   24. │                       ├─base::do.call(app[[msg$type]], msg$args)
   25. │                       └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-60", class = NULL)
   26. │                         └─cli:::clii_bullets(app, text, id, class)
   27. │                           └─base::lapply(...)
   28. │                             └─cli (local) FUN(X[[i]], ...)
   29. │                               └─app$text(text[[i]])
   30. │                                 └─cli:::clii_text(app, text)
   31. │                                   └─app$xtext(text)
   32. │                                     └─cli:::clii__xtext(...)
   33. │                                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   34. │                                         └─base::lapply(pars, ansi_trimws)
   35. │                                           └─cli (local) FUN(X[[i]], ...)
   36. └─base::.handleSimpleError(...)
   37.   └─dplyr (local) h(simpleError(msg, call))
   38.     └─rlang::cnd_signal(cnd)
  
  [ FAIL 2 | WARN 1 | SKIP 1 | PASS 41 ]
  Error: Test failures
  Execution halted