* using log directory ‘/data/localhost/ripley/R/packages/tests-donttest/PreKnitPostHTMLRender.Rcheck’ * using R Under development (unstable) (2026-11-30 r91009) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) GNU Fortran (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-12-01 00:37:33 UTC * checking for file ‘PreKnitPostHTMLRender/DESCRIPTION’ ... OK * this is package ‘PreKnitPostHTMLRender’ version ‘0.1.0’ * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘PreKnitPostHTMLRender’ can be installed ... OK * checking package 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘PreKnitPostHTMLRender-Ex.R’ failed The error most likely occurred in: > ### Name: preknit_knit_render_postrender > ### Title: First Pre-knitting Processing, then knitr::knit, then > ### rmarkdown::render, then Post HTML-rendering Processing > ### Aliases: preknit_knit_render_postrender > > ### ** Examples > > ## No test: > oldwd <- getwd() > setwd(tempdir()) > > #pandoc.exe is required to run this code > samplermd <- tempfile('test', getwd(), '.Rmd') > addhtml <- 'test__test.html' > > #generate the test Rmd file > writeLines(c('---', + 'title: "Example Usage"', + 'output: html_document', + '---', + '', + 'This document is used for various similar reports.', + '', + '@@@', + "cat(paste('#Dynamic Header1', rnorm(1)))", + '@@@', + '', + '`%%% writeLines(readLines("test__test.html"))`', + '', + '@@@', + 'cat(paste("##Dynamic Header2", rnorm(1)))', + '@@@', + '', + 'Some content is invariant across different reports.'), samplermd) > > #generate test html file > writeLines(c(''), addhtml) > > #Pre-knit processing and post HTML render processing > preknit_knit_render_postrender(samplermd, "sample__html.html") processing file: /tmp/RtmpqA4fNp/working_dir/Rtmp6hyCv8/test208cbaf052ce1208cbafb9e31e.Rmd output file: /tmp/RtmpqA4fNp/working_dir/Rtmp6hyCv8/test208cbaf052ce1208cba3a35e45d.md /data/localhost/ripley/bin/pandoc +RTS -K512m -RTS test208cbaf052ce1208cba3a35e45d.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output /tmp/RtmpqA4fNp/working_dir/Rtmp6hyCv8/test208cbaf052ce1208cba23b24979.html --lua-filter /data/localhost/ripley/R/test-dev/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /data/localhost/ripley/R/test-dev/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /data/localhost/ripley/R/test-dev/rmarkdown/rmarkdown/lua/table-classes.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --template /data/localhost/ripley/R/test-dev/rmarkdown/rmd/h/default.html --syntax-highlighting none --variable highlightjs=1 --variable theme=bootstrap --mathjax --variable 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /tmp/RtmpqA4fNp/working_dir/Rtmp6hyCv8/rmarkdown-str208cba387c8e40.html [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. Output created: test208cbaf052ce1208cba23b24979.html Error in replaceNodes.XMLInternalNode(x, newnode) : Failed to xmlReconciliateNs() after replacing node Calls: preknit_knit_render_postrender ... FUN -> replaceNodes -> replaceNodes.XMLInternalNode Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR See ‘/data/localhost/ripley/R/packages/tests-donttest/PreKnitPostHTMLRender.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:58.70, 26.12 + 87.47