CRAN Package Check Results for Package texor

Last updated on 2024-12-09 22:50:26 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.5.0 5.54 45.47 51.01 OK
r-devel-linux-x86_64-debian-gcc 1.5.0 3.64 31.79 35.43 ERROR
r-devel-linux-x86_64-fedora-clang 1.5.0 84.94 OK
r-devel-linux-x86_64-fedora-gcc 1.5.0 92.64 OK
r-devel-windows-x86_64 1.5.0 8.00 87.00 95.00 OK
r-patched-linux-x86_64 1.5.0 4.29 43.72 48.01 OK
r-release-linux-x86_64 1.5.0 4.75 43.55 48.30 OK
r-release-macos-arm64 1.5.0 38.00 OK
r-release-macos-x86_64 1.5.0 60.00 OK
r-release-windows-x86_64 1.5.0 10.00 73.00 83.00 OK
r-oldrel-macos-arm64 1.5.0 40.00 OK
r-oldrel-macos-x86_64 1.5.0 59.00 OK
r-oldrel-windows-x86_64 1.5.0 9.00 72.00 81.00 OK

Check Details

Version: 1.5.0
Check: examples
Result: ERROR Running examples in ‘texor-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: check_markdown_file > ### Title: check markdown file > ### Aliases: check_markdown_file > > ### ** Examples > > article_dir <- system.file("examples/article", + package = "texor") > dir.create(your_article_folder <- file.path(tempdir(), "tempdir")) > x <- file.copy(from = article_dir, to = your_article_folder,recursive = TRUE,) > your_article_path <- paste(your_article_folder,"article",sep="/") > rmarkdown::pandoc_version() [1] ‘3.6’ > texor::include_style_file(your_article_path) [1] TRUE > rebib::aggregate_bibliography(your_article_path) No Bib files found ! Cannot aggregate bibliography as there is no BibTeX bibliography No Bib files found ! BibTeX file does not exist will parse for bibliography bibtex file created > texor::convert_to_markdown(your_article_path) /usr/bin/pandoc +RTS -K512m -RTS /tmp/RtmphOEWlS/tempdir/article/RJwrapper.tex --to markdown-simple_tables-pipe_tables-fenced_code_attributes --from latex --output /tmp/RtmphOEWlS/tempdir/article/RJwrapper.md -s --resource-path /tmp/RtmphOEWlS/tempdir/article --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/issue_checker.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/abs_filter.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/bib_filter.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/equation_filter.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/image_filter.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/sec_depth.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/fig_code_chunk.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/widetable_patcher.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/R_code.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/table_caption.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/table_code_chunk.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/conversion_compat_check.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/bookdown_ref.lua --citeproc Error running filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/fig_code_chunk.lua: table expected, got Caption stack traceback: ...r-devel-gcc/Work/build/Packages/texor/fig_code_chunk.lua:116: in function 'Figure' Error: pandoc document conversion failed with error 83 Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.5.0
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(texor) > > test_check("texor") Converting page 1 to /tmp/RtmpxqbzD5/tempdir/pdf_conversion/normal.png... done! removing the unnecessary option fig=TRUE: * image,fig=TRUE, fig.cap="matrix package's image" removing the unnecessary option fig=TRUE: * keep.source=TRUE, fig=TRUE changing keep.source=TRUE to tidy=FALSE: * keep.source=TRUE, changing \SweaveOpts{} to opts_chunk$set(): * \SweaveOpts{keep.source=TRUE, fig=TRUE} /usr/bin/pandoc +RTS -K512m -RTS /tmp/RtmpxqbzD5/tempdir/sweave_article/example-knitr.Rnw --to markdown-simple_tables-pipe_tables-fenced_code_attributes --from latex --output /tmp/RtmpxqbzD5/tempdir/sweave_article/example-knitr-part1.md --resource-path /tmp/RtmpxqbzD5/tempdir/sweave_article -f /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/sweave_code_reader.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/r_code_chunk_patcher.lua /usr/bin/pandoc +RTS -K512m -RTS /tmp/RtmpxqbzD5/tempdir/sweave_article/example-knitr.Rnw --to latex --from latex --output /tmp/RtmpxqbzD5/tempdir/sweave_article/example-generated.tex --resource-path /tmp/RtmpxqbzD5/tempdir/sweave_article -f /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/sweave_code_remove.lua /usr/bin/pandoc +RTS -K512m -RTS /tmp/RtmpxqbzD5/tempdir/sweave_article/example-generated.tex --to markdown-simple_tables-pipe_tables-fenced_code_attributes --from latex --output /tmp/RtmpxqbzD5/tempdir/sweave_article/example-knitr-part2.md --resource-path /tmp/RtmpxqbzD5/tempdir/sweave_article -f /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/algorithm_reader.lua /usr/bin/pandoc +RTS -K512m -RTS /tmp/RtmpxqbzD5/tempdir/sweave_article/example-generated.tex --to latex --from latex --output /tmp/RtmpxqbzD5/tempdir/sweave_article/example-generated.tex --resource-path /tmp/RtmpxqbzD5/tempdir/sweave_article -f /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/algorithm_remove.lua Found Bib file example.bib Cannot aggregate bibliography as there is no embedded bibliography Found 0 Matches for target : example Found 0 Matches for target : example Found 0 Matches for target : example\* Found 0 Matches for target : example\* Found 0 Matches for target : Sin Found 0 Matches for target : Sin Found 0 Matches for target : Sout Found 0 Matches for target : Sout Found 0 Matches for target : Scode Found 0 Matches for target : Scode Found 0 Matches for target : Sinput Found 0 Matches for target : Sinput Found 0 Matches for target : Soutput Found 0 Matches for target : Soutput Found 0 Matches for target : smallverbatim Found 0 Matches for target : smallverbatim Found 0 Matches for target : boxedverbatim Found 0 Matches for target : boxedverbatim Found 0 Matches for target : smallexample Found 0 Matches for target : smallexample Found 0 Matches for target : table\* Changed \begin{table\*} to \begin{table} Found 0 Matches for target : table\* Changed \end{table*} to \end{table} Found 0 Matches for target : multicolumn changed \multicolumn to \multicolumnx Found 0 Matches for target : widetable Changed \begin{widetable} to \begin{table} Found 0 Matches for target : widetable Changed \end{widetable} to \end{table} Auto add label for table env Found 0 Matches for target : figure\* Changed \begin{figure\*} to \begin{figure} Found 0 Matches for target : figure\* Changed \end{figure\*} to \end{figure} Found 0 Matches for target : widefigure Changed \begin{widefigure} to \begin{figure} Found 0 Matches for target : widefigure Changed \end{widefigure} to \end{figure} Found 0 Matches for target : widefigure\* Changed \begin{widefigure\*} to \begin{figure} Found 0 Matches for target : widefigure\* Changed \end{widefigure\*} to \end{figure} /usr/bin/pandoc +RTS -K512m -RTS /tmp/RtmpxqbzD5/tempdir/sweave_article/RJwrapper.tex --to native --from latex --output /tmp/RtmpxqbzD5/tempdir/sweave_article/temp-native.txt -s --resource-path /tmp/RtmpxqbzD5/tempdir/sweave_article/RJwrapper.tex --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/find_pdf_files.lua Found 0 Matches for target : figure\* Changed \begin{figure\*} to \begin{figure} Found 0 Matches for target : figure\* Changed \end{figure\*} to \end{figure} Found 0 Matches for target : widefigure Changed \begin{widefigure} to \begin{figure} Found 0 Matches for target : widefigure Changed \end{widefigure} to \end{figure} Found 0 Matches for target : widefigure\* Changed \begin{widefigure\*} to \begin{figure} Found 0 Matches for target : widefigure\* Changed \end{widefigure\*} to \end{figure} Found 0 Matches for target : algorithm Changed \begin{algorithm} to \begin{figure} Found 0 Matches for target : algorithm Changed \end{algorithm} to \end{figure} /usr/bin/pandoc +RTS -K512m -RTS /tmp/RtmpxqbzD5/tempdir/sweave_article/RJwrapper.tex --to markdown-simple_tables-pipe_tables-fenced_code_attributes --from latex --output /tmp/RtmpxqbzD5/tempdir/sweave_article/RJwrapper.md -s --resource-path /tmp/RtmpxqbzD5/tempdir/sweave_article --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/issue_checker.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/abs_filter.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/bib_filter.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/equation_filter.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/image_filter.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/sec_depth.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/fig_code_chunk.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/widetable_patcher.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/R_code.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/table_caption.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/table_code_chunk.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/conversion_compat_check.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/bookdown_ref.lua --citeproc Error running filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/texor/fig_code_chunk.lua: table expected, got Caption stack traceback: ...r-devel-gcc/Work/build/Packages/texor/fig_code_chunk.lua:116: in function 'Figure' [ FAIL 1 | WARN 1 | SKIP 0 | PASS 18 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-rnw-tools.R:7:5'): Convert Rnw to Rmd ────────────────────────── Error: pandoc document conversion failed with error 83 Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-rnw-tools.R:7:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─texor::rnw_to_rmd(...) 5. └─texor::convert_to_markdown(...) 6. └─rmarkdown::pandoc_convert(...) 7. └─rmarkdown:::stop2(...) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 18 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc