Running ‘testthat.R’ [208s/260s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > suppressPackageStartupMessages(library(grwat))
  > 
  > test_check("grwat")
  [ FAIL 2 | WARN 10 | SKIP 1 | PASS 173 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-gr_report.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-gr_set_locale.R:15:3'): Russian locale works ───────────────────
  Error in `grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, 
      resolveHJust(x$just, x$hjust), resolveVJust(x$just, x$vjust), 
      x$rot, as.numeric(NA))`: conversion failure on 'Сток:' in 'mbcsToSbcs': for С
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(gr_plot_sep(sep, 1978)) at test-gr_set_locale.R:15:2
    2. │ └─base::withCallingHandlers(...)
    3. ├─grwat::gr_plot_sep(sep, 1978)
    4. │ └─grwat:::multiplot(plotlist = plotlist, layout = layout)
    5. │   ├─base::print(plots[[1]])
    6. │   └─ggplot2:::print.ggplot(plots[[1]])
    7. │     ├─ggplot2::ggplot_gtable(data)
    8. │     └─ggplot2:::ggplot_gtable.ggplot_built(data)
    9. │       └─ggplot2:::build_guides(...)
   10. │         └─ggplot2:::guides_gengrob(gdefs, theme)
   11. │           └─base::lapply(gdefs, guide_gengrob, theme)
   12. │             ├─ggplot2 (local) FUN(X[[i]], ...)
   13. │             └─ggplot2:::guide_gengrob.legend(X[[i]], ...)
   14. │               └─ggplot2:::width_cm(grob.title)
   15. │                 └─grid::convertWidth(grobWidth(x), "cm", TRUE)
   16. │                   └─grid::convertUnit(...)
   17. │                     └─grid:::grid.Call(...)
   18. ├─grid (local) `<fn>`(`<titleGrb>`)
   19. ├─grid:::preDraw.gTree(`<titleGrb>`)
   20. │ └─grid:::pushvpgp(x)
   21. │   ├─grid:::pushgrobvp(x$vp)
   22. │   └─grid:::pushgrobvp.viewport(x$vp)
   23. │     └─grid::pushViewport(vp, recording = FALSE)
   24. │       └─base::lapply(vps, push.vp, recording)
   25. │         ├─grid (local) FUN(X[[i]], ...)
   26. │         └─grid:::push.vp.vpTree(X[[i]], ...)
   27. │           ├─grid:::push.vp(vp$parent, recording)
   28. │           └─grid:::push.vp.viewport(vp$parent, recording)
   29. │             └─grid:::grid.Call.graphics(C_setviewport, vp, TRUE)
   30. └─grid (local) `<fn>`(`<text>`)
   31.   ├─grid::widthDetails(x)
   32.   └─grid:::widthDetails.text(x)
   33.     └─grid:::grid.Call(...)
  ── Error ('test-gr_set_locale.R:29:3'): Ukrainian locale works ─────────────────
  Error in `grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, 
      resolveHJust(x$just, x$hjust), resolveVJust(x$just, x$vjust), 
      x$rot, as.numeric(NA))`: conversion failure on 'Сток:' in 'mbcsToSbcs': for С
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(gr_plot_sep(sep, 1978)) at test-gr_set_locale.R:29:2
    2. │ └─base::withCallingHandlers(...)
    3. ├─grwat::gr_plot_sep(sep, 1978)
    4. │ └─grwat:::multiplot(plotlist = plotlist, layout = layout)
    5. │   ├─base::print(plots[[1]])
    6. │   └─ggplot2:::print.ggplot(plots[[1]])
    7. │     ├─ggplot2::ggplot_gtable(data)
    8. │     └─ggplot2:::ggplot_gtable.ggplot_built(data)
    9. │       └─ggplot2:::build_guides(...)
   10. │         └─ggplot2:::guides_gengrob(gdefs, theme)
   11. │           └─base::lapply(gdefs, guide_gengrob, theme)
   12. │             ├─ggplot2 (local) FUN(X[[i]], ...)
   13. │             └─ggplot2:::guide_gengrob.legend(X[[i]], ...)
   14. │               └─ggplot2:::width_cm(grob.title)
   15. │                 └─grid::convertWidth(grobWidth(x), "cm", TRUE)
   16. │                   └─grid::convertUnit(...)
   17. │                     └─grid:::grid.Call(...)
   18. ├─grid (local) `<fn>`(`<titleGrb>`)
   19. ├─grid:::preDraw.gTree(`<titleGrb>`)
   20. │ └─grid:::pushvpgp(x)
   21. │   ├─grid:::pushgrobvp(x$vp)
   22. │   └─grid:::pushgrobvp.viewport(x$vp)
   23. │     └─grid::pushViewport(vp, recording = FALSE)
   24. │       └─base::lapply(vps, push.vp, recording)
   25. │         ├─grid (local) FUN(X[[i]], ...)
   26. │         └─grid:::push.vp.vpTree(X[[i]], ...)
   27. │           ├─grid:::push.vp(vp$parent, recording)
   28. │           └─grid:::push.vp.viewport(vp$parent, recording)
   29. │             └─grid:::grid.Call.graphics(C_setviewport, vp, TRUE)
   30. └─grid (local) `<fn>`(`<text>`)
   31.   ├─grid::widthDetails(x)
   32.   └─grid:::widthDetails.text(x)
   33.     └─grid:::grid.Call(...)
  
  [ FAIL 2 | WARN 10 | SKIP 1 | PASS 173 ]
  Error: Test failures
  Execution halted