CRAN Package Check Results for Package latex2exp

Last updated on 2025-11-05 03:50:12 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.6 3.58 55.32 58.90 OK
r-devel-linux-x86_64-debian-gcc 0.9.6 2.37 41.20 43.57 OK
r-devel-linux-x86_64-fedora-clang 0.9.6 83.49 ERROR
r-devel-linux-x86_64-fedora-gcc 0.9.6 12.00 82.86 94.86 ERROR
r-devel-windows-x86_64 0.9.6 5.00 66.00 71.00 OK
r-patched-linux-x86_64 0.9.6 3.64 52.84 56.48 OK
r-release-linux-x86_64 0.9.6 3.44 52.23 55.67 OK
r-release-macos-arm64 0.9.6 2.00 47.00 49.00 OK
r-release-macos-x86_64 0.9.6 3.00 102.00 105.00 OK
r-release-windows-x86_64 0.9.6 5.00 67.00 72.00 OK
r-oldrel-macos-arm64 0.9.6 2.00 33.00 35.00 OK
r-oldrel-macos-x86_64 0.9.6 3.00 49.00 52.00 OK
r-oldrel-windows-x86_64 0.9.6 7.00 82.00 89.00 OK

Check Details

Version: 0.9.6
Check: tests
Result: ERROR Running ‘testthat.R’ [12s/14s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(latex2exp) > > test_check("latex2exp") [ FAIL 1 | WARN 1 | SKIP 0 | PASS 100 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_simple.R:166:3'): Escaped symbols renders correctly ──────────── Error in `str_replace_all(., "\\\\['\\$\\{\\}\\[\\]\\!\\?\\_\\^]", function(char) { str_c("\\ESCAPED@", as.integer(charToRaw(str_replace_fixed(char, "\\", ""))), "{}") })`: `replacement` function must return a vector the same length as the input (2), not length 1. Backtrace: ▆ 1. ├─latex2exp:::expect_renders_same(...) at test_simple.R:166:3 2. │ └─latex2exp:::.expect_renders(object, expected_expression, negate = FALSE) at tests/testthat/setup.R:30:3 3. │ └─latex2exp::TeX(act$val) at tests/testthat/setup.R:65:5 4. │ └─latex2exp:::parse_latex(input) 5. │ └─... %>% ... 6. ├─stringr::str_replace_all(., "([^\\\\]?)\\\\\\s", "\\1\\\\@SPACE2{}") 7. │ └─stringr:::check_lengths(string, pattern, replacement) 8. │ └─vctrs::vec_size_common(...) 9. ├─stringr::str_replace_all(., "([^\\\\]?)\\\\;", "\\1\\\\@SPACE2{}") 10. │ └─stringr:::check_lengths(string, pattern, replacement) 11. │ └─vctrs::vec_size_common(...) 12. ├─stringr::str_replace_all(., "([^\\\\]?)\\\\,", "\\1\\\\@SPACE1{}") 13. │ └─stringr:::check_lengths(string, pattern, replacement) 14. │ └─vctrs::vec_size_common(...) 15. └─stringr::str_replace_all(...) 16. └─stringr:::str_transform_all(string, pattern, replacement) 17. └─cli::cli_abort(...) 18. └─rlang::abort(...) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 100 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.9.6
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘supported-commands.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘supported-commands.Rmd’ --- re-building ‘using-latex2exp.Rmd’ using rmarkdown Quitting from using-latex2exp.Rmd:55-71 [base-plot] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NULL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'using-latex2exp.Rmd' failed with diagnostics: `replacement` function must return a vector the same length as the input (2), not length 1. --- failed re-building ‘using-latex2exp.Rmd’ SUMMARY: processing the following file failed: ‘using-latex2exp.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.9.6
Check: tests
Result: ERROR Running ‘testthat.R’ [12s/17s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(latex2exp) > > test_check("latex2exp") [ FAIL 1 | WARN 1 | SKIP 0 | PASS 100 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_simple.R:166:3'): Escaped symbols renders correctly ──────────── Error in `str_replace_all(., "\\\\['\\$\\{\\}\\[\\]\\!\\?\\_\\^]", function(char) { str_c("\\ESCAPED@", as.integer(charToRaw(str_replace_fixed(char, "\\", ""))), "{}") })`: `replacement` function must return a vector the same length as the input (2), not length 1. Backtrace: ▆ 1. ├─latex2exp:::expect_renders_same(...) at test_simple.R:166:3 2. │ └─latex2exp:::.expect_renders(object, expected_expression, negate = FALSE) at tests/testthat/setup.R:30:3 3. │ └─latex2exp::TeX(act$val) at tests/testthat/setup.R:65:5 4. │ └─latex2exp:::parse_latex(input) 5. │ └─... %>% ... 6. ├─stringr::str_replace_all(., "([^\\\\]?)\\\\\\s", "\\1\\\\@SPACE2{}") 7. │ └─stringr:::check_lengths(string, pattern, replacement) 8. │ └─vctrs::vec_size_common(...) 9. ├─stringr::str_replace_all(., "([^\\\\]?)\\\\;", "\\1\\\\@SPACE2{}") 10. │ └─stringr:::check_lengths(string, pattern, replacement) 11. │ └─vctrs::vec_size_common(...) 12. ├─stringr::str_replace_all(., "([^\\\\]?)\\\\,", "\\1\\\\@SPACE1{}") 13. │ └─stringr:::check_lengths(string, pattern, replacement) 14. │ └─vctrs::vec_size_common(...) 15. └─stringr::str_replace_all(...) 16. └─stringr:::str_transform_all(string, pattern, replacement) 17. └─cli::cli_abort(...) 18. └─rlang::abort(...) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 100 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc