CRAN Package Check Results for Package xdvir

Last updated on 2025-12-26 07:49:00 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1-3 11.52 164.58 176.10 OK
r-devel-linux-x86_64-debian-gcc 0.1-3 8.35 121.17 129.52 OK
r-devel-linux-x86_64-fedora-clang 0.1-3 18.00 254.86 272.86 OK
r-devel-linux-x86_64-fedora-gcc 0.1-3 18.00 275.80 293.80 OK
r-devel-windows-x86_64 0.1-3 28.00 313.00 341.00 ERROR
r-patched-linux-x86_64 0.1-3 10.22 161.19 171.41 OK
r-release-linux-x86_64 0.1-3 10.66 160.92 171.58 OK
r-release-macos-arm64 0.1-3 OK
r-release-macos-x86_64 0.1-3 11.00 229.00 240.00 OK
r-release-windows-x86_64 0.1-3 28.00 315.00 343.00 ERROR
r-oldrel-macos-arm64 0.1-3 NOTE
r-oldrel-macos-x86_64 0.1-3 12.00 233.00 245.00 NOTE
r-oldrel-windows-x86_64 0.1-3 28.00 408.00 436.00 OK

Check Details

Version: 0.1-3
Check: whether startup messages can be suppressed
Result: NOTE xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. It looks like this package (or a package it requires) has a startup message which cannot be suppressed: see ?packageStartupMessage. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.1-3
Check: dependencies in R code
Result: NOTE xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.1-3
Check: S3 generic/method consistency
Result: WARN xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. See section 'Generic functions and methods' in the 'Writing R Extensions' manual. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.1-3
Check: replacement functions
Result: WARN xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. The argument of a replacement function which corresponds to the right hand side must be named 'value'. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.1-3
Check: foreign function calls
Result: NOTE xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. See chapter 'System and foreign language interfaces' in the 'Writing R Extensions' manual. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.1-3
Check: R code for possible problems
Result: NOTE xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.1-3
Check: for missing documentation entries
Result: WARN xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. All user-level objects in a package should have documentation entries. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.1-3
Check: for code/documentation mismatches
Result: WARN xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.1-3
Check: Rd \usage sections
Result: NOTE xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. The \usage entries for S3 methods should use the \method markup and not their full name. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.1-3
Check: tests
Result: ERROR Running 'author.R' [6s] Running 'dpi.R' [7s] Running 'dvi.R' [6s] Comparing 'dvi.Rout' to 'dvi.Rout.save' ...5,7d4 < xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. < luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. < luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. Running 'fontspec.R' [21s] Running 'grid.dvi.R' [11s] Running 'grid.latex.R' [12s] Running 'luatex.R' [12s] Running 'package.R' [11s] Running 'size.R' [12s] Running 'typeset.R' [11s] Running the tests in 'tests/fontspec.R' failed. Complete output: > > library(grid) > library(xdvir) xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. > > ## Make debugging information available > options(tinytex.verbose=TRUE, xdvir.quiet=FALSE) > > fontpath <- system.file("Fonts", "Montserrat", package="xdvir") > > tex <- paste0("\\setmainfont{Montserrat-Regular.ttf}", + ## On Windows, the path may contain ~ + "[Path=", gsub("~", "\\\\string~", fontpath), "/]\n", + "This is a test") > > ## Create .tex files within .Rcheck directory so that we can more easily > ## debug problems (or return them as artifacts from github runners) > texFile <- "test-fontspec.tex" > > if (Sys.info()["sysname"] == "Darwin") { + png("fontspec-%02d.png", type="quartz") + } else { + ## "Windows" or "Linux" + png("fontspec-%02d.png", type="cairo") + } > > if (xdvir:::haveTeX()) { + grid.newpage() + grid.latex(tex, packages=fontspecPackage(), texFile=texFile, gp=NULL) + } ! lualatex: critical issue: You are running MiKTeX on an unsupported version of Windows. Error: LaTeX failed to compile test-fontspec.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See ./test-fontspec.log for more info. Execution halted Running the tests in 'tests/grid.dvi.R' failed. Complete output: > > library(grid) > library(xdvir) xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. > > ## Make debugging information available > options(tinytex.verbose=TRUE, xdvir.quiet=FALSE) > > ## Existing DVI (so engine unknown AND packages unknown) > dviXeTeX <- readDVI(system.file("DVI", "test-xetex.xdv", package="xdvir")) > > ## Font file paths based on my machine > if (Sys.getenv("USER") == "pmur002") { + + ## Fall back to dummy fontLib + ## (glyph positioning is compromised) + grid.newpage() + tools::assertWarning(grid.dvi(dviXeTeX)) + + grid.newpage() + ## Warn about guessing DVI engine + tools::assertWarning(grid.dvi(dviXeTeX)) + + } > > ## Generate DVI > > ## Create .tex files within .Rcheck directory so that we can more easily > ## debug problems (or return them as artifacts from github runners) > texFile <- "test-dvi.tex" > > if (Sys.info()["sysname"] == "Darwin") { + png("grid-dvi-%02d.png", type="quartz") + } else { + ## "Windows" or "Linux" + png("grid-dvi-%02d.png", type="cairo") + } > > if (xdvir:::haveTeX()) { + + str <- r"(This is a test: $x - \mu$)" + + tex <- author(str) + dvi <- typeset(tex, texFile=texFile) + grid.newpage() + grid.dvi(dvi) + + ## Explicit render engine that does NOT match typeset() engine + tex <- author(str, engine="xetex") + dvi <- typeset(tex, engine="xetex", texFile=texFile) + grid.newpage() + tools::assertWarning(grid.dvi(dvi, engine="null")) + + } ! lualatex: critical issue: You are running MiKTeX on an unsupported version of Windows. Error: LaTeX failed to compile test-dvi.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See ./test-dvi.log for more info. Execution halted Running the tests in 'tests/grid.latex.R' failed. Complete output: > > library(grid) > library(xdvir) xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. > > ## Make debugging information available > options(tinytex.verbose=TRUE, xdvir.quiet=FALSE) > > ## Create .tex files within .Rcheck directory so that we can more easily > ## debug problems (or return them as artifacts from github runners) > texFile <- "test-latex.tex" > > if (Sys.info()["sysname"] == "Darwin") { + png("grid-latex-%02d.png", type="quartz") + } else { + ## "Windows" or "Linux" + png("grid-latex-%02d.png", type="cairo") + } > > if (xdvir:::haveTeX()) { + + grid.newpage() + grid.latex("This is a test: $x - \\mu$", texFile=texFile) + + } ! lualatex: critical issue: You are running MiKTeX on an unsupported version of Windows. Error: LaTeX failed to compile test-latex.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See ./test-latex.log for more info. Execution halted Running the tests in 'tests/luatex.R' failed. Complete output: > > library(grid) > library(xdvir) xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. > > ## Make debugging information available > options(tinytex.verbose=TRUE, xdvir.quiet=FALSE) > > ## Create .tex files within .Rcheck directory so that we can more easily > ## debug problems (or return them as artifacts from github runners) > texFile <- "test-lualatex.tex" > > if (Sys.info()["sysname"] == "Darwin") { + png("luatex-%02d.png", type="quartz") + } else { + ## "Windows" or "Linux" + png("luatex-%02d.png", type="cairo") + } > > if (xdvir:::haveTeX()) { + + str <- r"(This is a test: $x - \mu$)" + + if (xdvir:::luatexAvailable() && xdvir:::luaOTFloadToolSufficient()) { + grid.newpage() + grid.lualatex(str, texFile=texFile) + } + + } ! lualatex: critical issue: You are running MiKTeX on an unsupported version of Windows. Error: LaTeX failed to compile test-lualatex.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See ./test-lualatex.log for more info. Execution halted Running the tests in 'tests/package.R' failed. Complete output: > > library(grid) > library(xdvir) xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. > > ## Make debugging information available > options(tinytex.verbose=TRUE, xdvir.quiet=FALSE) > > fontpath <- system.file("Fonts", "Montserrat", package="xdvir") > > tex <- paste0("\\setmainfont{Montserrat-Regular.ttf}", + ## On Windows, the path may contain ~ + "[Path=", gsub("~", "\\\\string~", fontpath), "/]\n", + "This is a test") > > ## Create .tex files within .Rcheck directory so that we can more easily > ## debug problems (or return them as artifacts from github runners) > texFile <- "test-package.tex" > > if (Sys.info()["sysname"] == "Darwin") { + png("package-%02d.png", type="quartz") + } else { + ## "Windows" or "Linux" + png("package-%02d.png", type="cairo") + } > > if (xdvir:::haveTeX()) { + + ## Package as LaTeXpackage object + grid.newpage() + grid.latex(tex, packages=fontspecPackage(), texFile=texFile) + + ## Package as package alias + grid.newpage() + grid.latex(tex, packages="fontspec", texFile=texFile) + + ## TODO: + ## Package in author, but not in render + ## Package in render, but not in author + ## ... + + } ! lualatex: critical issue: You are running MiKTeX on an unsupported version of Windows. Error: LaTeX failed to compile test-package.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See ./test-package.log for more info. Execution halted Running the tests in 'tests/size.R' failed. Complete output: > > library(xdvir) xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. > library(grid) > > ## Make debugging information available > options(tinytex.verbose=TRUE, xdvir.quiet=FALSE) > > ## Create .tex files within .Rcheck directory so that we can more easily > ## debug problems (or return them as artifacts from github runners) > texFile <- "test-size.tex" > > if (Sys.info()["sysname"] == "Darwin") { + png("size-%02d.png", type="quartz") + } else { + ## "Windows" or "Linux" + png("size-%02d.png", type="cairo") + } > > if (xdvir:::haveTeX()) { + grid.newpage() + x <- latexGrob("\\Huge test", texFile=texFile) + grid.draw(x) + grid.rect(width=grobWidth(x), height=grobHeight(x), gp=gpar(fill=NA)) + grid.circle(grobX(x, "west"), grobY(x, "west"), r=unit(1, "mm"), + gp=gpar(fill="black")) + } ! lualatex: critical issue: You are running MiKTeX on an unsupported version of Windows. Error: LaTeX failed to compile test-size.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See ./test-size.log for more info. Execution halted Running the tests in 'tests/typeset.R' failed. Complete output: > > library(xdvir) xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. > > ## Make debugging information available > options(tinytex.verbose=TRUE, xdvir.quiet=FALSE) > > ## Create .tex files within .Rcheck directory so that we can more easily > ## debug problems (or return them as artifacts from github runners) > texFile <- "test-typeset.tex" > > if (xdvir:::haveTeX()) { + + ## author() engine defaults + ## Typeset engine taken from author() engine + tex <- author("This is a test: $x - \\mu$") + typeset(tex, texFile=texFile) + + ## Explicit typeset engine that matches author() engine + tex <- author("test", engine="xetex") + typeset(tex, engine="xetex", texFile=texFile) + + ## Explicit typeset engine that does NOT match author() engine + tex <- author("test", engine="null") + tools::assertWarning(typeset(tex, engine="xetex", texFile=texFile)) + + ## Manual TeX (so author engine unknown) + ## Typeset engine defaults + tex <- readLines(system.file("TeX", "test.tex", package="xdvir")) + tools::assertWarning(typeset(tex, texFile=texFile)) + + ## Manual TeX (so author engine unknown) + ## AND explicit typeset engine + tex <- readLines(system.file("TeX", "test.tex", package="xdvir")) + tools::assertWarning(typeset(tex, engine="xetex", texFile=texFile)) + + } ! lualatex: critical issue: You are running MiKTeX on an unsupported version of Windows. Error: LaTeX failed to compile test-typeset.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See ./test-typeset.log for more info. Execution halted Flavor: r-devel-windows-x86_64

Version: 0.1-3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'xdvir-intro.Rmd' using rmarkdown xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. Warning in dev.off(dv) : Killing locked device Quitting from xdvir-intro.Rmd:68-82 [unnamed-chunk-5] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! LaTeX failed to compile D:\temp\2025_12_24_01_50_00_27005\Rtmp8whu6p\file988c206e2134.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See D:/temp/2025_12_24_01_50_00_27005/Rtmp8whu6p/file988c206e2134.log for more info. --- Backtrace: ▆ 1. ├─base::withVisible(knit_print(x, ...)) 2. ├─knitr::knit_print(x, ...) 3. ├─knitr:::knit_print.default(x, ...) 4. │ └─knitr::normal_print(x) 5. │ ├─base::print(x) 6. │ └─ggplot2 (local) `print.ggplot2::ggplot`(x) 7. │ ├─grid::grid.draw(gtable) 8. │ └─grid:::grid.draw.gTree(gtable) 9. │ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid")) 10. ├─grid:::drawGTree(x) 11. │ ├─grid::grid.draw(x$children[[i]], recording = FALSE) 12. │ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE) 13. │ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid")) 14. ├─grid:::drawGTree(x) 15. │ ├─grid::grid.draw(x$children[[i]], recording = FALSE) 16. │ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE) 17. │ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid")) 18. ├─grid:::drawGTree(x) 19. │ ├─grid::grid.draw(x$children[[i]], recording = FALSE) 20. │ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE) 21. │ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid")) 22. └─grid:::drawGTree(x) 23. ├─grid::makeContent(x) 24. └─xdvir:::makeContent.LaTeXgrob(x) 25. └─xdvir:::buildDVI(tex, x$width, packages, x$engine, x$texFile) 26. └─base::lapply(texDocs, typeset, engine = engine, texFile = texFile) 27. ├─xdvir (local) FUN(X[[i]], ...) 28. └─xdvir:::typeset.LaTeXdocument(X[[i]], ...) 29. └─xdvir:::getDVI(tex, engine, packages, texFile) 30. └─xdvir:::addDVI(tex, engine, packages, texFile, sig) 31. └─xdvir:::latex(texFile, texDir, engine, packages, dviFile, sig) 32. └─tinytex::latexmk(file, engine = engine$command, engine_args = options) 33. └─tinytex:::latexmk_emu(...) 34. └─tinytex (local) run_engine() 35. └─tinytex (local) on_error() 36. └─tinytex:::show_latex_error(file, logfile) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'xdvir-intro.Rmd' failed with diagnostics: LaTeX failed to compile D:\temp\2025_12_24_01_50_00_27005\Rtmp8whu6p\file988c206e2134.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See D:/temp/2025_12_24_01_50_00_27005/Rtmp8whu6p/file988c206e2134.log for more info. --- failed re-building 'xdvir-intro.Rmd' --- re-building 'xdvir-trouble.Rmd' using rmarkdown --- finished re-building 'xdvir-trouble.Rmd' SUMMARY: processing the following file failed: 'xdvir-intro.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-devel-windows-x86_64

Version: 0.1-3
Check: tests
Result: ERROR Running 'author.R' [6s] Running 'dpi.R' [7s] Running 'dvi.R' [6s] Comparing 'dvi.Rout' to 'dvi.Rout.save' ...5,7d4 < xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. < luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. < luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. Running 'fontspec.R' [21s] Running 'grid.dvi.R' [11s] Running 'grid.latex.R' [12s] Running 'luatex.R' [12s] Running 'package.R' [12s] Running 'size.R' [12s] Running 'typeset.R' [11s] Running the tests in 'tests/fontspec.R' failed. Complete output: > > library(grid) > library(xdvir) xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. > > ## Make debugging information available > options(tinytex.verbose=TRUE, xdvir.quiet=FALSE) > > fontpath <- system.file("Fonts", "Montserrat", package="xdvir") > > tex <- paste0("\\setmainfont{Montserrat-Regular.ttf}", + ## On Windows, the path may contain ~ + "[Path=", gsub("~", "\\\\string~", fontpath), "/]\n", + "This is a test") > > ## Create .tex files within .Rcheck directory so that we can more easily > ## debug problems (or return them as artifacts from github runners) > texFile <- "test-fontspec.tex" > > if (Sys.info()["sysname"] == "Darwin") { + png("fontspec-%02d.png", type="quartz") + } else { + ## "Windows" or "Linux" + png("fontspec-%02d.png", type="cairo") + } > > if (xdvir:::haveTeX()) { + grid.newpage() + grid.latex(tex, packages=fontspecPackage(), texFile=texFile, gp=NULL) + } ! lualatex: critical issue: You are running MiKTeX on an unsupported version of Windows. Error: LaTeX failed to compile test-fontspec.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See ./test-fontspec.log for more info. Execution halted Running the tests in 'tests/grid.dvi.R' failed. Complete output: > > library(grid) > library(xdvir) xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. > > ## Make debugging information available > options(tinytex.verbose=TRUE, xdvir.quiet=FALSE) > > ## Existing DVI (so engine unknown AND packages unknown) > dviXeTeX <- readDVI(system.file("DVI", "test-xetex.xdv", package="xdvir")) > > ## Font file paths based on my machine > if (Sys.getenv("USER") == "pmur002") { + + ## Fall back to dummy fontLib + ## (glyph positioning is compromised) + grid.newpage() + tools::assertWarning(grid.dvi(dviXeTeX)) + + grid.newpage() + ## Warn about guessing DVI engine + tools::assertWarning(grid.dvi(dviXeTeX)) + + } > > ## Generate DVI > > ## Create .tex files within .Rcheck directory so that we can more easily > ## debug problems (or return them as artifacts from github runners) > texFile <- "test-dvi.tex" > > if (Sys.info()["sysname"] == "Darwin") { + png("grid-dvi-%02d.png", type="quartz") + } else { + ## "Windows" or "Linux" + png("grid-dvi-%02d.png", type="cairo") + } > > if (xdvir:::haveTeX()) { + + str <- r"(This is a test: $x - \mu$)" + + tex <- author(str) + dvi <- typeset(tex, texFile=texFile) + grid.newpage() + grid.dvi(dvi) + + ## Explicit render engine that does NOT match typeset() engine + tex <- author(str, engine="xetex") + dvi <- typeset(tex, engine="xetex", texFile=texFile) + grid.newpage() + tools::assertWarning(grid.dvi(dvi, engine="null")) + + } ! lualatex: critical issue: You are running MiKTeX on an unsupported version of Windows. Error: LaTeX failed to compile test-dvi.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See ./test-dvi.log for more info. Execution halted Running the tests in 'tests/grid.latex.R' failed. Complete output: > > library(grid) > library(xdvir) xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. > > ## Make debugging information available > options(tinytex.verbose=TRUE, xdvir.quiet=FALSE) > > ## Create .tex files within .Rcheck directory so that we can more easily > ## debug problems (or return them as artifacts from github runners) > texFile <- "test-latex.tex" > > if (Sys.info()["sysname"] == "Darwin") { + png("grid-latex-%02d.png", type="quartz") + } else { + ## "Windows" or "Linux" + png("grid-latex-%02d.png", type="cairo") + } > > if (xdvir:::haveTeX()) { + + grid.newpage() + grid.latex("This is a test: $x - \\mu$", texFile=texFile) + + } ! lualatex: critical issue: You are running MiKTeX on an unsupported version of Windows. Error: LaTeX failed to compile test-latex.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See ./test-latex.log for more info. Execution halted Running the tests in 'tests/luatex.R' failed. Complete output: > > library(grid) > library(xdvir) xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. > > ## Make debugging information available > options(tinytex.verbose=TRUE, xdvir.quiet=FALSE) > > ## Create .tex files within .Rcheck directory so that we can more easily > ## debug problems (or return them as artifacts from github runners) > texFile <- "test-lualatex.tex" > > if (Sys.info()["sysname"] == "Darwin") { + png("luatex-%02d.png", type="quartz") + } else { + ## "Windows" or "Linux" + png("luatex-%02d.png", type="cairo") + } > > if (xdvir:::haveTeX()) { + + str <- r"(This is a test: $x - \mu$)" + + if (xdvir:::luatexAvailable() && xdvir:::luaOTFloadToolSufficient()) { + grid.newpage() + grid.lualatex(str, texFile=texFile) + } + + } ! lualatex: critical issue: You are running MiKTeX on an unsupported version of Windows. Error: LaTeX failed to compile test-lualatex.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See ./test-lualatex.log for more info. Execution halted Running the tests in 'tests/package.R' failed. Complete output: > > library(grid) > library(xdvir) xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. > > ## Make debugging information available > options(tinytex.verbose=TRUE, xdvir.quiet=FALSE) > > fontpath <- system.file("Fonts", "Montserrat", package="xdvir") > > tex <- paste0("\\setmainfont{Montserrat-Regular.ttf}", + ## On Windows, the path may contain ~ + "[Path=", gsub("~", "\\\\string~", fontpath), "/]\n", + "This is a test") > > ## Create .tex files within .Rcheck directory so that we can more easily > ## debug problems (or return them as artifacts from github runners) > texFile <- "test-package.tex" > > if (Sys.info()["sysname"] == "Darwin") { + png("package-%02d.png", type="quartz") + } else { + ## "Windows" or "Linux" + png("package-%02d.png", type="cairo") + } > > if (xdvir:::haveTeX()) { + + ## Package as LaTeXpackage object + grid.newpage() + grid.latex(tex, packages=fontspecPackage(), texFile=texFile) + + ## Package as package alias + grid.newpage() + grid.latex(tex, packages="fontspec", texFile=texFile) + + ## TODO: + ## Package in author, but not in render + ## Package in render, but not in author + ## ... + + } ! lualatex: critical issue: You are running MiKTeX on an unsupported version of Windows. Error: LaTeX failed to compile test-package.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See ./test-package.log for more info. Execution halted Running the tests in 'tests/size.R' failed. Complete output: > > library(xdvir) xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. > library(grid) > > ## Make debugging information available > options(tinytex.verbose=TRUE, xdvir.quiet=FALSE) > > ## Create .tex files within .Rcheck directory so that we can more easily > ## debug problems (or return them as artifacts from github runners) > texFile <- "test-size.tex" > > if (Sys.info()["sysname"] == "Darwin") { + png("size-%02d.png", type="quartz") + } else { + ## "Windows" or "Linux" + png("size-%02d.png", type="cairo") + } > > if (xdvir:::haveTeX()) { + grid.newpage() + x <- latexGrob("\\Huge test", texFile=texFile) + grid.draw(x) + grid.rect(width=grobWidth(x), height=grobHeight(x), gp=gpar(fill=NA)) + grid.circle(grobX(x, "west"), grobY(x, "west"), r=unit(1, "mm"), + gp=gpar(fill="black")) + } ! lualatex: critical issue: You are running MiKTeX on an unsupported version of Windows. Error: LaTeX failed to compile test-size.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See ./test-size.log for more info. Execution halted Running the tests in 'tests/typeset.R' failed. Complete output: > > library(xdvir) xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. > > ## Make debugging information available > options(tinytex.verbose=TRUE, xdvir.quiet=FALSE) > > ## Create .tex files within .Rcheck directory so that we can more easily > ## debug problems (or return them as artifacts from github runners) > texFile <- "test-typeset.tex" > > if (xdvir:::haveTeX()) { + + ## author() engine defaults + ## Typeset engine taken from author() engine + tex <- author("This is a test: $x - \\mu$") + typeset(tex, texFile=texFile) + + ## Explicit typeset engine that matches author() engine + tex <- author("test", engine="xetex") + typeset(tex, engine="xetex", texFile=texFile) + + ## Explicit typeset engine that does NOT match author() engine + tex <- author("test", engine="null") + tools::assertWarning(typeset(tex, engine="xetex", texFile=texFile)) + + ## Manual TeX (so author engine unknown) + ## Typeset engine defaults + tex <- readLines(system.file("TeX", "test.tex", package="xdvir")) + tools::assertWarning(typeset(tex, texFile=texFile)) + + ## Manual TeX (so author engine unknown) + ## AND explicit typeset engine + tex <- readLines(system.file("TeX", "test.tex", package="xdvir")) + tools::assertWarning(typeset(tex, engine="xetex", texFile=texFile)) + + } ! lualatex: critical issue: You are running MiKTeX on an unsupported version of Windows. Error: LaTeX failed to compile test-typeset.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See ./test-typeset.log for more info. Execution halted Flavor: r-release-windows-x86_64

Version: 0.1-3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'xdvir-intro.Rmd' using rmarkdown xelatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luatex: critical issue: You are running MiKTeX on an unsupported version of Windows. luaotfload-tool: critical issue: You are running MiKTeX on an unsupported version of Windows. Quitting from xdvir-intro.Rmd:68-82 [unnamed-chunk-5] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! LaTeX failed to compile D:\temp\2025_12_25_01_50_00_14239\Rtmpw9t0CX\fileaea841123b1.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See D:/temp/2025_12_25_01_50_00_14239/Rtmpw9t0CX/fileaea841123b1.log for more info. --- Backtrace: ▆ 1. ├─base::withVisible(knit_print(x, ...)) 2. ├─knitr::knit_print(x, ...) 3. ├─knitr:::knit_print.default(x, ...) 4. │ └─knitr::normal_print(x) 5. │ ├─base::print(x) 6. │ └─ggplot2 (local) `print.ggplot2::ggplot`(x) 7. │ ├─grid::grid.draw(gtable) 8. │ └─grid:::grid.draw.gTree(gtable) 9. │ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid")) 10. ├─grid:::drawGTree(x) 11. │ ├─grid::grid.draw(x$children[[i]], recording = FALSE) 12. │ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE) 13. │ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid")) 14. ├─grid:::drawGTree(x) 15. │ ├─grid::grid.draw(x$children[[i]], recording = FALSE) 16. │ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE) 17. │ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid")) 18. ├─grid:::drawGTree(x) 19. │ ├─grid::grid.draw(x$children[[i]], recording = FALSE) 20. │ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE) 21. │ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid")) 22. └─grid:::drawGTree(x) 23. ├─grid::makeContent(x) 24. └─xdvir:::makeContent.LaTeXgrob(x) 25. └─xdvir:::buildDVI(tex, x$width, packages, x$engine, x$texFile) 26. └─base::lapply(texDocs, typeset, engine = engine, texFile = texFile) 27. ├─xdvir (local) FUN(X[[i]], ...) 28. └─xdvir:::typeset.LaTeXdocument(X[[i]], ...) 29. └─xdvir:::getDVI(tex, engine, packages, texFile) 30. └─xdvir:::addDVI(tex, engine, packages, texFile, sig) 31. └─xdvir:::latex(texFile, texDir, engine, packages, dviFile, sig) 32. └─tinytex::latexmk(file, engine = engine$command, engine_args = options) 33. └─tinytex:::latexmk_emu(...) 34. └─tinytex (local) run_engine() 35. └─tinytex (local) on_error() 36. └─tinytex:::show_latex_error(file, logfile) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'xdvir-intro.Rmd' failed with diagnostics: LaTeX failed to compile D:\temp\2025_12_25_01_50_00_14239\Rtmpw9t0CX\fileaea841123b1.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See D:/temp/2025_12_25_01_50_00_14239/Rtmpw9t0CX/fileaea841123b1.log for more info. --- failed re-building 'xdvir-intro.Rmd' --- re-building 'xdvir-trouble.Rmd' using rmarkdown --- finished re-building 'xdvir-trouble.Rmd' SUMMARY: processing the following file failed: 'xdvir-intro.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-release-windows-x86_64

Version: 0.1-3
Check: installed package size
Result: NOTE installed size is 21.7Mb sub-directories of 1Mb or more: Fonts 1.3Mb libs 19.7Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64