Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ggtikz)
  > 
  > test_check("ggtikz")
  [1] "C:\\msys64\\home\\tomas\\ucrt3\\svn\\ucrt3\\r_packages\\pkgcheck\\CRAN\\ggtikz\\tmp\\RtmpSIDs0a\\file257cc1d0c1d79"
  [1] "C:\\msys64\\home\\tomas\\ucrt3\\svn\\ucrt3\\r_packages\\pkgcheck\\CRAN\\ggtikz\\tmp\\RtmpSIDs0a\\file257cc3da227e"
  [1] "C:\\msys64\\home\\tomas\\ucrt3\\svn\\ucrt3\\r_packages\\pkgcheck\\CRAN\\ggtikz\\tmp\\RtmpSIDs0a\\file257cc11027006"
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-ggtikzCanvas.R:21:5): conversion from data coordinates to npc works ──
  Error in `get_latex_cmd(TeXMetrics$engine)`: Cannot find LaTeX! Please check your system configuration or manually provide a value for options(tikzLatex)
  Backtrace:
       █
    1. ├─ggtikz::ggtikzCanvas(p) test-ggtikzCanvas.R:21:4
    2. │ ├─ggplot2::ggplot_gtable(built)
    3. │ └─ggplot2:::ggplot_gtable.ggplot_built(built)
    4. │   └─layout$render(geom_grobs, data, theme, plot$labels)
    5. │     └─ggplot2:::f(..., self = self)
    6. │       └─self$facet$draw_panels(...)
    7. │         └─ggplot2:::f(...)
    8. │           └─coord$render_axis_h(range, theme)
    9. │             └─ggplot2:::f(...)
   10. │               └─ggplot2:::panel_guides_grob(...)
   11. │                 ├─ggplot2::guide_gengrob(guide, theme)
   12. │                 └─ggplot2:::guide_gengrob.axis(guide, theme)
   13. │                   └─ggplot2:::draw_axis(...)
   14. │                     └─base::lapply(...)
   15. │                       └─ggplot2:::FUN(X[[i]], ...)
   16. │                         └─ggplot2:::draw_axis_labels(...)
   17. │                           ├─rlang::exec(...)
   18. │                           ├─(function (element, ...) ...
   19. │                           └─ggplot2:::element_grob.element_text(...)
   20. │                             └─ggplot2:::titleGrob(...)
   21. │                               └─ggplot2:::title_spec(...)
   22. │                                 └─ggplot2:::font_descent(...)
   23. │                                   └─grid::convertHeight(...)
   24. │                                     └─grid::convertUnit(...)
   25. │                                       └─grid:::grid.Call(...)
   26. ├─(function (x) ...
   27. ├─grid:::descentDetails.text(...)
   28. │ └─grid:::grid.Call(C_stringMetric, as.graphicsAnnot(x$label))
   29. └─(function (charCode, cex = 1, face = 1, engine = getOption("tikzDefaultEngine"), ...
   30.   └─tikzDevice:::getMetricsFromLatex(TeXMetrics, verbose = verbose)
   31.     └─tikzDevice:::get_latex_cmd(TeXMetrics$engine)
  ── Error (test-ggtikzCanvas.R:46:5): panel axis ranges are returned correctly ──
  Error in `get_latex_cmd(TeXMetrics$engine)`: Cannot find LaTeX! Please check your system configuration or manually provide a value for options(tikzLatex)
  Backtrace:
       █
    1. ├─ggtikz:::expect_ranges_equal(...) test-ggtikzCanvas.R:46:4
    2. │ └─ggtikz:::get_panel_range(canvas, panelx, panely) test-ggtikzCanvas.R:38:4
    3. ├─ggtikz::ggtikzCanvas(p)
    4. │ ├─ggplot2::ggplot_gtable(built)
    5. │ └─ggplot2:::ggplot_gtable.ggplot_built(built)
    6. │   └─layout$render(geom_grobs, data, theme, plot$labels)
    7. │     └─ggplot2:::f(..., self = self)
    8. │       └─self$facet$draw_panels(...)
    9. │         └─ggplot2:::f(...)
   10. │           └─coord$render_axis_h(range, theme)
   11. │             └─ggplot2:::f(...)
   12. │               └─ggplot2:::panel_guides_grob(...)
   13. │                 ├─ggplot2::guide_gengrob(guide, theme)
   14. │                 └─ggplot2:::guide_gengrob.axis(guide, theme)
   15. │                   └─ggplot2:::draw_axis(...)
   16. │                     └─base::lapply(...)
   17. │                       └─ggplot2:::FUN(X[[i]], ...)
   18. │                         └─ggplot2:::draw_axis_labels(...)
   19. │                           ├─rlang::exec(...)
   20. │                           ├─(function (element, ...) ...
   21. │                           └─ggplot2:::element_grob.element_text(...)
   22. │                             └─ggplot2:::titleGrob(...)
   23. │                               └─ggplot2:::title_spec(...)
   24. │                                 └─ggplot2:::font_descent(...)
   25. │                                   └─grid::convertHeight(...)
   26. │                                     └─grid::convertUnit(...)
   27. │                                       └─grid:::grid.Call(...)
   28. ├─(function (x) ...
   29. ├─grid:::descentDetails.text(...)
   30. │ └─grid:::grid.Call(C_stringMetric, as.graphicsAnnot(x$label))
   31. └─(function (charCode, cex = 1, face = 1, engine = getOption("tikzDefaultEngine"), ...
   32.   └─tikzDevice:::getMetricsFromLatex(TeXMetrics, verbose = verbose)
   33.     └─tikzDevice:::get_latex_cmd(TeXMetrics$engine)
  ── Error (test-ggtikzCanvas.R:74:5): reference points are calculated correctly ──
  Error in `get_latex_cmd(TeXMetrics$engine)`: Cannot find LaTeX! Please check your system configuration or manually provide a value for options(tikzLatex)
  Backtrace:
       █
    1. ├─ggtikz:::expect_ref_equal(...) test-ggtikzCanvas.R:74:4
    2. │ └─ggtikz::ggtikzCanvas(p) test-ggtikzCanvas.R:64:4
    3. │   ├─ggplot2::ggplot_gtable(built)
    4. │   └─ggplot2:::ggplot_gtable.ggplot_built(built)
    5. │     └─layout$render(geom_grobs, data, theme, plot$labels)
    6. │       └─ggplot2:::f(..., self = self)
    7. │         └─self$facet$draw_panels(...)
    8. │           └─ggplot2:::f(...)
    9. │             └─coord$render_axis_h(range, theme)
   10. │               └─ggplot2:::f(...)
   11. │                 └─ggplot2:::panel_guides_grob(...)
   12. │                   ├─ggplot2::guide_gengrob(guide, theme)
   13. │                   └─ggplot2:::guide_gengrob.axis(guide, theme)
   14. │                     └─ggplot2:::draw_axis(...)
   15. │                       └─base::lapply(...)
   16. │                         └─ggplot2:::FUN(X[[i]], ...)
   17. │                           └─ggplot2:::draw_axis_labels(...)
   18. │                             ├─rlang::exec(...)
   19. │                             ├─(function (element, ...) ...
   20. │                             └─ggplot2:::element_grob.element_text(...)
   21. │                               └─ggplot2:::titleGrob(...)
   22. │                                 └─ggplot2:::title_spec(...)
   23. │                                   └─ggplot2:::font_descent(...)
   24. │                                     └─grid::convertHeight(...)
   25. │                                       └─grid::convertUnit(...)
   26. │                                         └─grid:::grid.Call(...)
   27. ├─(function (x) ...
   28. ├─grid:::descentDetails.text(...)
   29. │ └─grid:::grid.Call(C_stringMetric, as.graphicsAnnot(x$label))
   30. └─(function (charCode, cex = 1, face = 1, engine = getOption("tikzDefaultEngine"), ...
   31.   └─tikzDevice:::getMetricsFromLatex(TeXMetrics, verbose = verbose)
   32.     └─tikzDevice:::get_latex_cmd(TeXMetrics$engine)
  ── Error (test-ggtikzCanvas.R:97:5): Panel viewport names are determined correctly ──
  Error in `get_latex_cmd(TeXMetrics$engine)`: Cannot find LaTeX! Please check your system configuration or manually provide a value for options(tikzLatex)
  Backtrace:
       █
    1. ├─ggtikz:::expect_vp_name_equal(p_wrap1, 1, 1, "panel-1-1.8-5-8-5") test-ggtikzCanvas.R:97:4
    2. │ └─ggtikz:::vp_from_p(p, panelx, panely) test-ggtikzCanvas.R:88:4
    3. │   └─ggtikz::ggtikzCanvas(p) test-ggtikzCanvas.R:83:4
    4. │     ├─ggplot2::ggplot_gtable(built)
    5. │     └─ggplot2:::ggplot_gtable.ggplot_built(built)
    6. │       └─layout$render(geom_grobs, data, theme, plot$labels)
    7. │         └─ggplot2:::f(..., self = self)
    8. │           └─self$facet$draw_panels(...)
    9. │             └─ggplot2:::f(...)
   10. │               └─ggplot2::render_axes(ranges, ranges, coord, theme, transpose = TRUE)
   11. │                 └─base::lapply(x, coord$render_axis_h, theme)
   12. │                   └─ggplot2:::FUN(X[[i]], ...)
   13. │                     └─ggplot2:::f(...)
   14. │                       └─ggplot2:::panel_guides_grob(...)
   15. │                         ├─ggplot2::guide_gengrob(guide, theme)
   16. │                         └─ggplot2:::guide_gengrob.axis(guide, theme)
   17. │                           └─ggplot2:::draw_axis(...)
   18. │                             └─base::lapply(...)
   19. │                               └─ggplot2:::FUN(X[[i]], ...)
   20. │                                 └─ggplot2:::draw_axis_labels(...)
   21. │                                   ├─rlang::exec(...)
   22. │                                   ├─(function (element, ...) ...
   23. │                                   └─ggplot2:::element_grob.element_text(...)
   24. │                                     └─ggplot2:::titleGrob(...)
   25. │                                       └─ggplot2:::title_spec(...)
   26. │                                         └─ggplot2:::font_descent(...)
   27. │                                           └─grid::convertHeight(...)
   28. │                                             └─grid::convertUnit(...)
   29. │                                               └─grid:::grid.Call(...)
   30. ├─(function (x) ...
   31. ├─grid:::descentDetails.text(...)
   32. │ └─grid:::grid.Call(C_stringMetric, as.graphicsAnnot(x$label))
   33. └─(function (charCode, cex = 1, face = 1, engine = getOption("tikzDefaultEngine"), ...
   34.   └─tikzDevice:::getMetricsFromLatex(TeXMetrics, verbose = verbose)
   35.     └─tikzDevice:::get_latex_cmd(TeXMetrics$engine)
  ── Error (test-ggtikzCanvas.R:142:5): Panel viewports can be activated ─────────
  Error in `get_latex_cmd(TeXMetrics$engine)`: Cannot find LaTeX! Please check your system configuration or manually provide a value for options(tikzLatex)
  Backtrace:
       █
    1. ├─ggtikz:::check_activated_vp(p_grid1, 1, 1, "panel-1-1.8-5-8-5") test-ggtikzCanvas.R:142:4
    2. │ └─ggtikz::ggtikzCanvas(p) test-ggtikzCanvas.R:130:4
    3. │   ├─ggplot2::ggplot_gtable(built)
    4. │   └─ggplot2:::ggplot_gtable.ggplot_built(built)
    5. │     └─layout$render(geom_grobs, data, theme, plot$labels)
    6. │       └─ggplot2:::f(..., self = self)
    7. │         └─self$facet$draw_panels(...)
    8. │           └─ggplot2:::f(...)
    9. │             └─ggplot2::render_axes(...)
   10. │               └─base::lapply(x, coord$render_axis_h, theme)
   11. │                 └─ggplot2:::FUN(X[[i]], ...)
   12. │                   └─ggplot2:::f(...)
   13. │                     └─ggplot2:::panel_guides_grob(...)
   14. │                       ├─ggplot2::guide_gengrob(guide, theme)
   15. │                       └─ggplot2:::guide_gengrob.axis(guide, theme)
   16. │                         └─ggplot2:::draw_axis(...)
   17. │                           └─base::lapply(...)
   18. │                             └─ggplot2:::FUN(X[[i]], ...)
   19. │                               └─ggplot2:::draw_axis_labels(...)
   20. │                                 ├─rlang::exec(...)
   21. │                                 ├─(function (element, ...) ...
   22. │                                 └─ggplot2:::element_grob.element_text(...)
   23. │                                   └─ggplot2:::titleGrob(...)
   24. │                                     └─ggplot2:::title_spec(...)
   25. │                                       └─ggplot2:::font_descent(...)
   26. │                                         └─grid::convertHeight(...)
   27. │                                           └─grid::convertUnit(...)
   28. │                                             └─grid:::grid.Call(...)
   29. ├─(function (x) ...
   30. ├─grid:::descentDetails.text(...)
   31. │ └─grid:::grid.Call(C_stringMetric, as.graphicsAnnot(x$label))
   32. └─(function (charCode, cex = 1, face = 1, engine = getOption("tikzDefaultEngine"), ...
   33.   └─tikzDevice:::getMetricsFromLatex(TeXMetrics, verbose = verbose)
   34.     └─tikzDevice:::get_latex_cmd(TeXMetrics$engine)
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 31 ]
  Error: Test failures
  In addition: Warning message:
  In fun(libname, pkgname) : 
  
  tikzDevice: No appropriate LaTeX compiler could be found.
  Access to LaTeX is required in order for the TikZ device
  to produce output.
  
  The following places were tested for a valid LaTeX compiler:
  
  	the global option: tikzLatex
  	the environment variable: R_LATEXCMD
  	the environment variable: R_PDFLATEXCMD
  	the global option: latexcmd
  	the PATH using the command: pdflatex
  	the PATH using the command: latex
  
  If you have a working LaTeX compiler, try one of the
  following solutions:
  
  	Set the path to your compiler as the value of either latexcmd or
  	tikzLatex in .Rprofile using options().
  
  	Set the path to your compiler as the value of either R_LATEXCMD or
  	R_PDFLATEXCMD in .Renviron.
  
  	Ensure the folder containing your compiler is included in PATH.
  
  Execution halted