* using log directory 'd:/Rcompile/CRANpkg/local/4.6/xdvir.Rcheck' * using R Under development (unstable) (2025-12-23 r89222 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'xdvir/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'xdvir' version '0.1-3' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'xdvir' can be installed ... OK * used C compiler: 'gcc.exe (GCC) 14.3.0' * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [6s] OK * checking whether the package can be loaded with stated dependencies ... [6s] OK * checking whether the package can be unloaded cleanly ... [6s] OK * checking whether the namespace can be loaded with stated dependencies ... [6s] OK * checking whether the namespace can be unloaded cleanly ... [6s] OK * checking loading without being on the library search path ... [6s] OK * checking whether startup messages can be suppressed ... [6s] 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. * checking use of S3 registration ... OK * checking dependencies in R code ... 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. * checking S3 generic/method consistency ... WARNING 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. * checking replacement functions ... WARNING 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'. * checking foreign function calls ... 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. * checking R code for possible problems ... [22s] 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. * checking Rd files ... [1s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... WARNING 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. * checking for code/documentation mismatches ... WARNING 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. * checking Rd \usage sections ... 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. * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking line endings in shell scripts ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [7s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [109s] 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [14s] 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: ! 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 * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [5s] OK * DONE Status: 2 ERRORs, 4 WARNINGs, 5 NOTEs