Running ‘testthat.R’ [78s/126s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(geofacet)
  > 
  > test_check("geofacet")
  [ FAIL 1 | WARN 1 | SKIP 2 | PASS 14 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • empty test (1): 'test-examples.R:5:1'
  • rnaturalearthhires cannot be loaded (1): 'test-auto.R:5:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-grids.R:6:3'): grids all load and work correctly ───────────────
  Error in `grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x, x$y, 
      resolveHJust(x$just, x$hjust), resolveVJust(x$just, x$vjust), 
      x$rot, x$check.overlap)`: conversion failure on '도봉' in 'mbcsToSbcs': for 도
  Backtrace:
       ▆
    1. ├─geofacet::grid_preview(grd) at test-grids.R:6:3
    2. │ ├─base::plot(p)
    3. │ └─ggplot2:::plot.ggplot(p)
    4. │   ├─grid::grid.draw(gtable)
    5. │   └─grid:::grid.draw.gTree(gtable)
    6. │     └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
    7. ├─grid:::drawGTree(x)
    8. │ ├─grid::grid.draw(x$children[[i]], recording = FALSE)
    9. │ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
   10. │   └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
   11. ├─grid:::drawGTree(x)
   12. │ ├─grid::grid.draw(x$children[[i]], recording = FALSE)
   13. │ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
   14. │   └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
   15. ├─grid:::drawGTree(x)
   16. │ ├─grid::grid.draw(x$children[[i]], recording = FALSE)
   17. │ └─grid:::grid.draw.grob(x$children[[i]], recording = FALSE)
   18. │   └─grDevices::recordGraphics(drawGrob(x), list(x = x), getNamespace("grid"))
   19. └─grid:::drawGrob(x)
   20.   ├─grid::drawDetails(x, recording = FALSE)
   21.   └─grid:::drawDetails.text(x, recording = FALSE)
   22.     └─grid:::grid.Call.graphics(...)
  
  [ FAIL 1 | WARN 1 | SKIP 2 | PASS 14 ]
  Error: Test failures
  Execution halted