* using log directory ‘/srv/hornik/tmp/CRAN_pretest/excerptr.Rcheck’ * using R Under development (unstable) (2025-10-10 r88914) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (7) Debian flang-new version 19.1.7 (7) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘excerptr/DESCRIPTION’ ... OK * this is package ‘excerptr’ version ‘2.1.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/4s] NOTE Maintainer: ‘Andreas Dominik Cullmann ’ New submission Package was archived on CRAN CRAN repository db overrides: X-CRAN-Comment: Archived on 2022-09-22 as issues were not corrected in time. * 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 serialization versions ... OK * checking whether package ‘excerptr’ can be installed ... [3s/3s] OK * checking package directory ... OK * checking for future file timestamps ... 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking whether startup messages can be suppressed ... [1s/1s] 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 ... [5s/5s] OK * checking Rd files ... [0s/0s] 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [1s/1s] ERROR Running examples in ‘excerptr-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: excerptr > ### Title: Excerpt Structuring Comments and Set a Table of Contents. > ### Aliases: excerptr > > ### ** Examples > > if (reticulate::py_available(initialize = TRUE)) { + root <- system.file(package = "excerptr") + test_files <- file.path(root, "excerpts", "tests", "files") + outpath <- tempdir() + python_source <- "some_code.py" + f <- normalizePath(file.path(test_files, python_source)) + cat(readLines(f), sep = "\n") + tryCatch( + excerptr(file_name = file.path(test_files, python_source), + output_path = tempdir(), run_pandoc = FALSE, + compile_latex = FALSE, + pandoc_formats = c("tex", "html")), + error = identity) + f <- file.path(outpath, sub("\\.py$", ".md", python_source)) + cat(readLines(f), sep = "\n") + } #!/usr/bin/env python3 # #######% % All About Me # #######% % Me # ####### The above defines a pandoc markdown header. # ####### This is more text that will not be extracted. # #######% **This** is an example of a markdown paragraph: markdown # #######% recognizes only six levels of heading, so we use seven or # #######% more levels to mark "normal" text. # #######% Here you can use the full markdown # #######% [syntax](http://daringfireball.net/projects/markdown/syntax). # #######% *Note* the trailing line: markdown needs an empty line to end # #######% a paragraph. # #######% # #% A section # ##% A subsection # ### Not a subsubsection but a plain comment. print('hello, world') # ############% Another markdown paragraph. # ############% # ####### More text that will not be extracted. Warning in file(con, "r") : cannot open file '/tmp/RtmpUbSSup/working_dir/Rtmp1YLD1y/some_code.md': No such file or directory Error in file(con, "r") : cannot open the connection Calls: cat -> readLines -> file Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [3s/3s] OK Running ‘runit.R’ [1s/1s] Running ‘testthat.R’ [1s/1s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [2s/2s] OK * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE