- using R Under development (unstable) (2025-12-18 r89199)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-11) 15.2.0
GNU Fortran (Debian 15.2.0-11) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘TeXCheckR/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘TeXCheckR’ version ‘0.8.1’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- 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 ‘TeXCheckR’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/1s] OK
- checking whether startup messages can be suppressed ... [0s/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 ... [11s/15s] OK
- checking Rd files ... [0s/1s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking examples ... [1s/1s] ERROR
Running examples in ‘TeXCheckR-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: parse_tex
> ### Title: Parse LaTeX lines
> ### Aliases: parse_tex
>
> ### ** Examples
>
> parse_tex(c("A{}", "B[a]{b{c}{d}}z"))
Error in `[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), :
attempt access index 11/11 in VECTOR_ELT
Calls: parse_tex -> [ -> [.data.table
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [13s/15s] ERROR
Running ‘testthat.R’ [13s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(TeXCheckR)
>
> test_check("TeXCheckR")
Saving _problems/test-locate_latex_argument-5.R
Saving _problems/test-locate_latex_argument-16.R
✖ 4: \chapter{A chapter with wrong prefix}\label{sec:should-be-chap:}✖ 4: \chapter{A chapter without a label}Saving _problems/test_extract_LaTeX_argument-4.R
Saving _problems/test_extract_LaTeX_argument-11.R
Saving _problems/test_extract_LaTeX_argument-19.R
Saving _problems/test_extract_LaTeX_argument-35.R
Saving _problems/test_extract_LaTeX_argument-58.R
Saving _problems/test_extract_LaTeX_argument-78.R
Saving _problems/test_extract_LaTeX_argument-107.R
Saving _problems/test_extract_LaTeX_argument-121.R
Saving _problems/test_extract_LaTeX_argument-145.R
Saving _problems/test_extract_LaTeX_argument-159.R
Saving _problems/test_extract_LaTeX_argument-167.R
Saving _problems/test_extract_LaTeX_argument-181.R
Saving _problems/test_extract_LaTeX_argument-197.R
Saving _problems/test_extract_LaTeX_argument-209.R
Saving _problems/test_extract_LaTeX_argument-219.R
Saving _problems/test_fill_nth_LaTeX_argument-5.R
Saving _problems/test_footnote_typography-13.R
Saving _problems/test_footnote_typography-15.R
Saving _problems/test_footnote_typography-17.R
Saving _problems/test_footnote_typography-20.R
Saving _problems/test_footnote_typography-22.R
Saving _problems/test_footnote_typography-25.R
Saving _problems/test_footnote_typography-30.R
Saving _problems/test_footnote_typography-72.R
Saving _problems/test_inputs_of-4.R
Saving _problems/test_inputs_of-16.R
Saving _problems/test_locate_footcite_punctuation-6.R
Saving _problems/test_parse_tex-15.R
Saving _problems/test_parse_tex-26.R
Saving _problems/test_parse_tex-32.R
Saving _problems/test_parse_tex-39.R
Saving _problems/test_read_tex_document-21.R
Saving _problems/test_sort_bib-8.R
Saving _problems/test_spellcheck-13.R
Saving _problems/test_spellcheck-18.R
Saving _problems/test_spellcheck-26.R
Saving _problems/test_spellcheck-35.R
Saving _problems/test_spellcheck-39.R
Saving _problems/test_spellcheck-41.R
Saving _problems/test_spellcheck-43.R
Saving _problems/test_spellcheck-56.R
Saving _problems/test_spellcheck-57.R
Saving _problems/test_spellcheck-65.R
Saving _problems/test_spellcheck-67.R
Saving _problems/test_spellcheck-71.R
Saving _problems/test_spellcheck-72.R
Saving _problems/test_spellcheck-73.R
Saving _problems/test_spellcheck-74.R
Saving _problems/test_spellcheck-75.R
Saving _problems/test_spellcheck-79.R
Saving _problems/test_spellcheck-94.R
Saving _problems/test_spellcheck-98.R
Saving _problems/test_spellcheck-103.R
Saving _problems/test_spellcheck-117.R
Saving _problems/test_spellcheck-128.R
Saving _problems/test_spellcheck-139.R
Saving _problems/test_spellcheck-146.R
Saving _problems/test_spellcheck-150.R
Saving _problems/test_spellcheck-162.R
Saving _problems/test_spellcheck-176.R
Saving _problems/test_spellcheck_0-6-2-6.R
Saving _problems/test_spellcheck_0-6-2-8.R
Saving _problems/test_spellcheck_0-7-0-13.R
Saving _problems/test_utils-71.R
Saving _problems/test_validate_bibliography-5.R
Saving _problems/test_validate_bibliography-6.R
Key: <key>
key Author Title date
<char> <char> <char> <char>
1: RMS2010-Hunter-EXPWY RMS, NSW hunter expressway – current status <NA>
2: RMS2010Hunter RMS, NSW hunter expressway – current status <NA>
year
<char>
1: 2010
2: 2010
Key: <key>
key Author Title date year
<char> <char> <char> <char> <char>
1: Treasury2014TES2013 Treasury tax expenditures statement 2013 <NA> 2014
2: Treasury2014f Treasury tax expenditures statement 2013 <NA> 2014
line_no x field
<int> <char> <char>
1: 1 key\tArticle{Terrill-2017-theConvo-Melbourne-vs-Sydney, key
2: 9 key\tArticle{Terrill-2017-theConvo-Melbourne-vs-Sydney, key
value is_key
<char> <lgcl>
1: Article{Terrill-2017-theConvo-Melbourne-vs-Sydney, TRUE
2: Article{Terrill-2017-theConvo-Melbourne-vs-Sydney, TRUE
key_value bib_file
<char> <char>
1: terrill-2017-theconvo-melbourne-vs-sydney, ./validate-bib/dup-key.bib
2: terrill-2017-theconvo-melbourne-vs-sydney, ./validate-bib/dup-key.bib
bib_file line_no key value authors
<char> <int> <char> <char> <char>
1: validate-bib/near-dup-authors.bib 8 VicRoadsr VicRoads VicRoads
Each field line in .bib must end with a comma (to allow reordering).
✖ 6: volume = {6}
author = {Australian Taxation Office},✖
Field <title> in entry <BlakersLuStocks2017> contains unescaped %.
✖ 4: title = {100% renewable electricity in Australia},
^^
Insert a backslash before this %.
Field <title> in entry <BlakersLuStocks2017> contains unescaped %.
✖ 4: title = {100% renewable electricity in Australia},
^^
Insert a backslash before this %.
Field <title> in entry <BlakersLuStocks2017> contains unescaped %.
✖ 4: title = {100% renewable electricity in Australia},
^^
Insert a backslash before this %.
Saving _problems/test_veto_sic-62.R
[ FAIL 71 | WARN 0 | SKIP 14 | PASS 196 ]
══ Skipped tests (14) ══════════════════════════════════════════════════════════
• Not yet implemented (1): 'test_split_report.R:4:3'
• On CRAN (11): 'test-zzz-check-pkgs-spelling.R:4:3', 'test_check_biber.R:5:3',
'test_check_biber.R:26:3', 'test_check_dashes.R:39:3',
'test_check_labels.R:29:3', 'test_minimal_bib.R:4:3',
'test_spellcheck.R:107:3', 'test_spellcheck.R:198:3', 'test_utils.R:47:3',
'test_zReports.R:4:3', 'test_zReports.R:32:3'
• Too noisy (1): 'test_check_consecutive_words.R:4:3'
• empty test (1): 'test_replace_LaTeX_argument.R:27:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-locate_latex_argument.R:5:3'): Locations ───────────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR::parse_tex(Line1) at test-locate_latex_argument.R:5:3
2. ├─...[]
3. └─data.table:::`[.data.table`(...)
── Error ('test-locate_latex_argument.R:16:3'): Issue 73 ───────────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR:::locate_mandatory_LaTeX_argument(...) at test-locate_latex_argument.R:16:3
2. └─TeXCheckR::parse_tex(tex_lines)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
── Error ('test_extract_LaTeX_argument.R:4:3'): Extract textbf ─────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR::extract_LaTeX_argument(...) at test_extract_LaTeX_argument.R:4:3
2. └─TeXCheckR::extract_mandatory_LaTeX_argument(...)
3. └─TeXCheckR::parse_tex(tex_lines)
4. ├─...[]
5. └─data.table:::`[.data.table`(...)
── Error ('test_extract_LaTeX_argument.R:11:3'): Extract textcites ─────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR::extract_LaTeX_argument(...) at test_extract_LaTeX_argument.R:11:3
2. └─TeXCheckR::extract_mandatory_LaTeX_argument(...)
3. └─TeXCheckR::parse_tex(tex_lines)
4. ├─...[]
5. └─data.table:::`[.data.table`(...)
── Error ('test_extract_LaTeX_argument.R:18:3'): Extract nested ────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR::extract_LaTeX_argument(...) at test_extract_LaTeX_argument.R:18:3
2. └─TeXCheckR::extract_mandatory_LaTeX_argument(...)
3. └─TeXCheckR::parse_tex(tex_lines)
4. ├─...[]
5. └─data.table:::`[.data.table`(...)
── Error ('test_extract_LaTeX_argument.R:32:3'): Optional argument ─────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR::extract_LaTeX_argument(...) at test_extract_LaTeX_argument.R:32:3
2. └─TeXCheckR::extract_optional_LaTeX_argument(...)
3. └─TeXCheckR::parse_tex(tex_lines)
4. ├─...[]
5. └─data.table:::`[.data.table`(...)
── Error ('test_extract_LaTeX_argument.R:58:3'): Multi-line starred ────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR::extract_LaTeX_argument(...) at test_extract_LaTeX_argument.R:58:3
2. └─TeXCheckR::extract_mandatory_LaTeX_argument(...)
3. └─TeXCheckR::parse_tex(tex_lines)
4. ├─...[]
5. └─data.table:::`[.data.table`(...)
── Error ('test_extract_LaTeX_argument.R:78:3'): Multi-line ────────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR::extract_mandatory_LaTeX_argument(...) at test_extract_LaTeX_argument.R:78:3
2. └─TeXCheckR::parse_tex(tex_lines)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
── Error ('test_extract_LaTeX_argument.R:107:3'): Optional argument interference ──
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test_extract_LaTeX_argument.R:107:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─TeXCheckR::extract_mandatory_LaTeX_argument("\\abc{def}", "abc")
5. └─TeXCheckR::parse_tex(tex_lines)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test_extract_LaTeX_argument.R:121:3'): Multi-lines ──────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR::extract_mandatory_LaTeX_argument(...) at test_extract_LaTeX_argument.R:121:3
2. └─TeXCheckR::parse_tex(tex_lines)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
── Error ('test_extract_LaTeX_argument.R:144:3'): Road congestion example ──────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR::extract_mandatory_LaTeX_argument(...) at test_extract_LaTeX_argument.R:144:3
2. └─TeXCheckR::parse_tex(tex_lines)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
── Error ('test_extract_LaTeX_argument.R:159:3'): Whitespace gobbling ──────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR::extract_mandatory_LaTeX_argument(...) at test_extract_LaTeX_argument.R:159:3
2. └─TeXCheckR::parse_tex(tex_lines)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
── Error ('test_extract_LaTeX_argument.R:167:3'): Optional argument ────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR::extract_optional_LaTeX_argument(...) at test_extract_LaTeX_argument.R:167:3
2. └─TeXCheckR::parse_tex(tex_lines)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
── Error ('test_extract_LaTeX_argument.R:181:3'): Argument requested but missing ──
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR::extract_mandatory_LaTeX_argument(...) at test_extract_LaTeX_argument.R:181:3
2. └─TeXCheckR::parse_tex(tex_lines)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
── Error ('test_extract_LaTeX_argument.R:197:3'): Environments ─────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR::extract_mandatory_LaTeX_argument(...) at test_extract_LaTeX_argument.R:197:3
2. └─TeXCheckR::parse_tex(tex_lines)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
── Error ('test_extract_LaTeX_argument.R:209:3'): Optional containing square brackets ──
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR::extract_mandatory_LaTeX_argument(...) at test_extract_LaTeX_argument.R:209:3
2. └─TeXCheckR::parse_tex(tex_lines)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
── Error ('test_extract_LaTeX_argument.R:219:3'): % et sqq should not be included in extract ──
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR::extract_mandatory_LaTeX_argument(...) at test_extract_LaTeX_argument.R:219:3
2. └─TeXCheckR::parse_tex(tex_lines)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
── Error ('test_fill_nth_LaTeX_argument.R:5:3'): Known results ─────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─TeXCheckR:::fill_nth_LaTeX_argument(...) at test_fill_nth_LaTeX_argument.R:5:3
2. │ └─TeXCheckR:::locate_mandatory_LaTeX_argument(...)
3. └─TeXCheckR::parse_tex(y1)
4. ├─...[]
5. └─data.table:::`[.data.table`(...)
── Failure ('test_footnote_typography.R:12:3'): Invalid typography stops ───────
`check_footnote_typography("./fnote-typogr/doesnt-end-with-period.tex")` threw an error with unexpected message.
Expected match: "does not end with full stop"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_footnote_typography.R:12:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─TeXCheckR::check_footnote_typography("./fnote-typogr/doesnt-end-with-period.tex")
7. │ └─... %>% ...
8. └─TeXCheckR::parse_tex(orig_lines)
9. ├─...[]
10. └─data.table:::`[.data.table`(...)
── Failure ('test_footnote_typography.R:14:3'): Invalid typography stops ───────
`check_footnote_typography("./fnote-typogr/doesnt-end-with-period-multiline.tex")` threw an error with unexpected message.
Expected match: "does not end with full stop"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_footnote_typography.R:14:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─TeXCheckR::check_footnote_typography("./fnote-typogr/doesnt-end-with-period-multiline.tex")
7. │ └─... %>% ...
8. └─TeXCheckR::parse_tex(orig_lines)
9. ├─...[]
10. └─data.table:::`[.data.table`(...)
── Failure ('test_footnote_typography.R:16:3'): Invalid typography stops ───────
`check_footnote_typography("./fnote-typogr/notok-end-itemize.tex")` threw an error with unexpected message.
Expected match: "does not end with full stop"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_footnote_typography.R:16:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─TeXCheckR::check_footnote_typography("./fnote-typogr/notok-end-itemize.tex")
7. │ └─... %>% ...
8. └─TeXCheckR::parse_tex(orig_lines)
9. ├─...[]
10. └─data.table:::`[.data.table`(...)
── Failure ('test_footnote_typography.R:19:3'): Invalid typography stops ───────
`check_footnote_typography("./fnote-typogr/full-stop-after.tex")` threw an error with unexpected message.
Expected match: "[pP]unctuation after footnote"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_footnote_typography.R:19:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─TeXCheckR::check_footnote_typography("./fnote-typogr/full-stop-after.tex")
7. └─TeXCheckR::parse_tex(orig_lines)
8. ├─...[]
9. └─data.table:::`[.data.table`(...)
── Failure ('test_footnote_typography.R:21:3'): Invalid typography stops ───────
`check_footnote_typography("./fnote-typogr/full-stop-after-fcite.tex")` threw an error with unexpected message.
Expected match: "[pP]unctuation mark after footcite"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_footnote_typography.R:21:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─TeXCheckR::check_footnote_typography("./fnote-typogr/full-stop-after-fcite.tex")
7. └─TeXCheckR::parse_tex(orig_lines)
8. ├─...[]
9. └─data.table:::`[.data.table`(...)
── Failure ('test_footnote_typography.R:24:3'): Invalid typography stops ───────
`check_footnote_typography("./fnote-typogr/colon-then-equation.tex")` threw an error with unexpected message.
Expected match: "[pP]unctuation after footnotemark"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_footnote_typography.R:24:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─TeXCheckR::check_footnote_typography("./fnote-typogr/colon-then-equation.tex")
7. └─TeXCheckR::parse_tex(orig_lines)
8. ├─...[]
9. └─data.table:::`[.data.table`(...)
── Failure ('test_footnote_typography.R:28:3'): Invalid typography stops ───────
Expected `tryCatch(...)` to produce output.
── Failure ('test_footnote_typography.R:71:3'): Footcites and footcite in same document don't get confused about dots after ──
`check_footnote_typography("./fnote-typogr/dot-after-footcites.tex")` threw an error with unexpected message.
Expected match: "Punctuation mark"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_footnote_typography.R:71:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─TeXCheckR::check_footnote_typography("./fnote-typogr/dot-after-footcites.tex")
7. └─TeXCheckR::parse_tex(orig_lines)
8. ├─...[]
9. └─data.table:::`[.data.table`(...)
── Error ('test_inputs_of.R:4:3'): Inputs of (no preamble) ─────────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─TeXCheckR::inputs_of("extract/road-congestion.tex") at test_inputs_of.R:4:3
2. │ ├─... %>% rbindlist
3. │ └─base::lapply(c("input", "include"), extract_LaTeX_argument, tex_lines = lines_with_possible_inputs)
4. │ └─TeXCheckR (local) FUN(X[[i]], ...)
5. │ └─TeXCheckR::extract_mandatory_LaTeX_argument(...)
6. │ └─TeXCheckR::parse_tex(tex_lines)
7. │ ├─...[]
8. │ └─data.table:::`[.data.table`(...)
9. └─data.table::rbindlist(.)
── Error ('test_inputs_of.R:14:3'): Includes x ─────────────────────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─TeXCheckR::inputs_of(...) at test_inputs_of.R:14:3
2. │ ├─... %>% rbindlist
3. │ └─base::lapply(c("input", "include"), extract_LaTeX_argument, tex_lines = lines_with_possible_inputs)
4. │ └─TeXCheckR (local) FUN(X[[i]], ...)
5. │ └─TeXCheckR::extract_mandatory_LaTeX_argument(...)
6. │ └─TeXCheckR::parse_tex(tex_lines)
7. │ ├─...[]
8. │ └─data.table:::`[.data.table`(...)
9. └─data.table::rbindlist(.)
── Error ('test_locate_footcite_punctuation.R:6:3'): Finds correct location ────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR:::locate_footcite_punctuation(tex_lines = read_lines("locate_footcite_punctuation/1.tex")) at test_locate_footcite_punctuation.R:6:3
2. └─TeXCheckR::parse_tex(tex_lines)
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
── Error ('test_parse_tex.R:15:3'): parse_tex single group ─────────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR::parse_tex(x) at test_parse_tex.R:15:3
2. ├─...[]
3. └─data.table:::`[.data.table`(...)
── Error ('test_parse_tex.R:26:3'): GRP_ID identifies group ────────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. └─TeXCheckR::parse_tex(x) at test_parse_tex.R:26:3
2. ├─...[]
3. └─data.table:::`[.data.table`(...)
── Error ('test_parse_tex.R:31:3'): Verify % is not parsed ─────────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_identical(...) at test_parse_tex.R:31:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─TeXCheckR::parse_tex(c("A {", "f ", "Z}"))
5. ├─...[]
6. └─data.table:::`[.data.table`(...)
── Error ('test_parse_tex.R:38:3'): Parse tiny documents ───────────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_identical(...) at test_parse_tex.R:38:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─TeXCheckR::parse_tex(c("", "A{B}"))
5. ├─...[]
6. └─data.table:::`[.data.table`(...)
── Error ('test_read_tex_document.R:21:3'): Reads file with spaces before input ──
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─TeXCheckR::read_tex_document(tempf) at test_read_tex_document.R:21:3
2. │ └─... %>% .subset2("extract")
3. └─TeXCheckR::extract_mandatory_LaTeX_argument(., "input")
4. └─TeXCheckR::parse_tex(tex_lines)
5. ├─...[]
6. └─data.table:::`[.data.table`(...)
── Error ('test_sort_bib.R:7:3'): sort bib correctly sorts ─────────────────────
Error in ``[.data.table`(., , `:=`(intra_key_line_no, seq_len(.N)), by = "key")`: attempt access index 13/13 in VECTOR_ELT
Backtrace:
▆
1. ├─TeXCheckR::reorder_bib("./sort-bib/incorrectly-sorted.bib", "./sort-bib/correctly-sorted-out.bib") at test_sort_bib.R:7:3
2. │ └─TeXCheckR::bib2DT(file.bib, to_sort = TRUE)
3. │ └─... %>% .[]
4. ├─data.table::setorder(., Surname, Date, title, field_name, Line_no)
5. │ └─base::is.data.frame(x)
6. ├─.[, `:=`(intra_key_line_no, seq_len(.N)), by = "key"]
7. └─data.table:::`[.data.table`(...)
── Error ('test_spellcheck.R:9:3'): School funding report checks out ───────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(...) at test_spellcheck.R:9:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─TeXCheckR::check_spelling(...)
5. └─TeXCheckR::parse_tex(lines)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Failure ('test_spellcheck.R:17:3'): Check spelling of multiple input document ──
`check_spelling("./spellcheck_multi_input/spellcheck_multi_input.tex")` threw an error with unexpected message.
Expected match: "failed on above line"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_spellcheck.R:17:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─TeXCheckR::check_spelling("./spellcheck_multi_input/spellcheck_multi_input.tex")
7. │ └─TeXCheckR::inputs_of(filename)
8. │ ├─... %>% rbindlist
9. │ └─base::lapply(c("input", "include"), extract_LaTeX_argument, tex_lines = lines_with_possible_inputs)
10. │ └─TeXCheckR (local) FUN(X[[i]], ...)
11. │ └─TeXCheckR::extract_mandatory_LaTeX_argument(...)
12. │ └─TeXCheckR::parse_tex(tex_lines)
13. │ ├─...[]
14. │ └─data.table:::`[.data.table`(...)
15. └─data.table::rbindlist(.)
── Error ('test_spellcheck.R:26:3'): Initalisms ────────────────────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(check_spelling("./spelling/abbrev/abbrev-defd-ok.tex")) at test_spellcheck.R:26:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─TeXCheckR::check_spelling("./spelling/abbrev/abbrev-defd-ok.tex")
5. └─TeXCheckR::parse_tex(lines)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test_spellcheck.R:35:3'): Initialism checking doesn't fail if at start of sentence ──
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(check_spelling("./spelling/abbrev/abbrev-at-line-start.tex")) at test_spellcheck.R:35:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─TeXCheckR::check_spelling("./spelling/abbrev/abbrev-at-line-start.tex")
5. └─TeXCheckR::parse_tex(lines)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Failure ('test_spellcheck.R:39:3'): Add to dictionary, ignore spelling in ───
`check_spelling("./spelling/add_to_dictionary-wrong.tex")` threw an error with unexpected message.
Expected match: "[Ss]pellcheck failed"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_spellcheck.R:39:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─TeXCheckR::check_spelling("./spelling/add_to_dictionary-wrong.tex")
7. └─TeXCheckR::parse_tex(lines)
8. ├─...[]
9. └─data.table:::`[.data.table`(...)
── Failure ('test_spellcheck.R:40:3'): Add to dictionary, ignore spelling in ───
`check_spelling("./spelling/ignore_spelling_in-wrong.tex", pre_release = FALSE)` threw an error with unexpected message.
Expected match: "[Ss]pellcheck failed"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_spellcheck.R:40:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─TeXCheckR::check_spelling(...)
7. └─TeXCheckR::parse_tex(lines)
8. ├─...[]
9. └─data.table:::`[.data.table`(...)
── Error ('test_spellcheck.R:43:3'): Add to dictionary, ignore spelling in ─────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(check_spelling("./spelling/add_to_dictionary-ok.tex")) at test_spellcheck.R:43:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─TeXCheckR::check_spelling("./spelling/add_to_dictionary-ok.tex")
5. └─TeXCheckR::parse_tex(lines)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Failure ('test_spellcheck.R:55:3'): Ignore spelling in input ────────────────
`check_spelling("./spelling/input/a.tex", pre_release = TRUE)` threw an error with unexpected message.
Expected match: "Spellcheck failed on above line with .asofihsafioh"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_spellcheck.R:55:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─TeXCheckR::check_spelling("./spelling/input/a.tex", pre_release = TRUE)
7. │ └─TeXCheckR::inputs_of(filename)
8. │ ├─... %>% rbindlist
9. │ └─base::lapply(c("input", "include"), extract_LaTeX_argument, tex_lines = lines_with_possible_inputs)
10. │ └─TeXCheckR (local) FUN(X[[i]], ...)
11. │ └─TeXCheckR::extract_mandatory_LaTeX_argument(...)
12. │ └─TeXCheckR::parse_tex(tex_lines)
13. │ ├─...[]
14. │ └─data.table:::`[.data.table`(...)
15. └─data.table::rbindlist(.)
── Error ('test_spellcheck.R:57:3'): Ignore spelling in input ──────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(...) at test_spellcheck.R:57:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─TeXCheckR::check_spelling("./spelling/input/a.tex", pre_release = FALSE)
5. │ └─TeXCheckR::inputs_of(filename)
6. │ ├─... %>% rbindlist
7. │ └─base::lapply(c("input", "include"), extract_LaTeX_argument, tex_lines = lines_with_possible_inputs)
8. │ └─TeXCheckR (local) FUN(X[[i]], ...)
9. │ └─TeXCheckR::extract_mandatory_LaTeX_argument(...)
10. │ └─TeXCheckR::parse_tex(tex_lines)
11. │ ├─...[]
12. │ └─data.table:::`[.data.table`(...)
13. └─data.table::rbindlist(.)
── Failure ('test_spellcheck.R:65:3'): Stop if present ─────────────────────────
`check_spelling("./stop_if_present_inputs/stop-if-held-in-inputs.tex")` threw an error with unexpected message.
Expected match: "skillset"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_spellcheck.R:65:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─TeXCheckR::check_spelling("./stop_if_present_inputs/stop-if-held-in-inputs.tex")
7. │ └─TeXCheckR::inputs_of(filename)
8. │ ├─... %>% rbindlist
9. │ └─base::lapply(c("input", "include"), extract_LaTeX_argument, tex_lines = lines_with_possible_inputs)
10. │ └─TeXCheckR (local) FUN(X[[i]], ...)
11. │ └─TeXCheckR::extract_mandatory_LaTeX_argument(...)
12. │ └─TeXCheckR::parse_tex(tex_lines)
13. │ ├─...[]
14. │ └─data.table:::`[.data.table`(...)
15. └─data.table::rbindlist(.)
── Error ('test_spellcheck.R:67:3'): Stop if present ───────────────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(check_spelling("./stop_if_present/should-not-stop.tex")) at test_spellcheck.R:67:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─TeXCheckR::check_spelling("./stop_if_present/should-not-stop.tex")
5. └─TeXCheckR::parse_tex(lines)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Failure ('test_spellcheck.R:71:3'): Lower-case governments should error ─────
`check_spelling("./spelling/Govt/NSWgovt.tex")` threw an error with unexpected message.
Expected match: "uppercase G"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_spellcheck.R:71:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─TeXCheckR::check_spelling("./spelling/Govt/NSWgovt.tex")
7. └─TeXCheckR::parse_tex(lines)
8. ├─...[]
9. └─data.table:::`[.data.table`(...)
── Failure ('test_spellcheck.R:72:3'): Lower-case governments should error ─────
`check_spelling("./spelling/Govt/ACTgovt.tex")` threw an error with unexpected message.
Expected match: "uppercase G"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_spellcheck.R:72:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─TeXCheckR::check_spelling("./spelling/Govt/ACTgovt.tex")
7. └─TeXCheckR::parse_tex(lines)
8. ├─...[]
9. └─data.table:::`[.data.table`(...)
── Failure ('test_spellcheck.R:73:3'): Lower-case governments should error ─────
`check_spelling("./spelling/Govt/NTgovt.tex")` threw an error with unexpected message.
Expected match: "uppercase G"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_spellcheck.R:73:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─TeXCheckR::check_spelling("./spelling/Govt/NTgovt.tex")
7. └─TeXCheckR::parse_tex(lines)
8. ├─...[]
9. └─data.table:::`[.data.table`(...)
── Failure ('test_spellcheck.R:74:3'): Lower-case governments should error ─────
`check_spelling("./spelling/Govt/Queenslandgovt.tex")` threw an error with unexpected message.
Expected match: "uppercase G"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_spellcheck.R:74:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─TeXCheckR::check_spelling("./spelling/Govt/Queenslandgovt.tex")
7. └─TeXCheckR::parse_tex(lines)
8. ├─...[]
9. └─data.table:::`[.data.table`(...)
── Failure ('test_spellcheck.R:75:3'): Lower-case governments should error ─────
`check_spelling("./spelling/Govt/WAgovt.tex")` threw an error with unexpected message.
Expected match: "uppercase G"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_spellcheck.R:75:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─TeXCheckR::check_spelling("./spelling/Govt/WAgovt.tex")
7. └─TeXCheckR::parse_tex(lines)
8. ├─...[]
9. └─data.table:::`[.data.table`(...)
── Error ('test_spellcheck.R:79:3'): Some lower-case governments should not ────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(check_spelling("./spelling/Govt/ok-as-adj.tex")) at test_spellcheck.R:79:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─TeXCheckR::check_spelling("./spelling/Govt/ok-as-adj.tex")
5. └─TeXCheckR::parse_tex(lines)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test_spellcheck.R:94:3'): 'percent' error should only occur in a Grattan report ──
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(check_spelling(percent_spellcheck.tex)) at test_spellcheck.R:94:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─TeXCheckR::check_spelling(percent_spellcheck.tex)
5. └─TeXCheckR::parse_tex(lines)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test_spellcheck.R:98:3'): Includepdf doesn't result in a failed include message ──
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(check_spelling("./spelling/includepdf-ok.tex")) at test_spellcheck.R:98:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─TeXCheckR::check_spelling("./spelling/includepdf-ok.tex")
5. │ └─TeXCheckR::inputs_of(filename)
6. │ ├─... %>% rbindlist
7. │ └─base::lapply(c("input", "include"), extract_LaTeX_argument, tex_lines = lines_with_possible_inputs)
8. │ └─TeXCheckR (local) FUN(X[[i]], ...)
9. │ └─TeXCheckR::extract_mandatory_LaTeX_argument(...)
10. │ └─TeXCheckR::parse_tex(tex_lines)
11. │ ├─...[]
12. │ └─data.table:::`[.data.table`(...)
13. └─data.table::rbindlist(.)
── Failure ('test_spellcheck.R:103:3'): Should error ───────────────────────────
`check_spelling("spelling/typo-suggest.tex")` threw an error with unexpected message.
Expected match: "Spellcheck"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_spellcheck.R:103:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─TeXCheckR::check_spelling("spelling/typo-suggest.tex")
7. └─TeXCheckR::parse_tex(lines)
8. ├─...[]
9. └─data.table:::`[.data.table`(...)
── Error ('test_spellcheck.R:116:3'): Inputs should respect dict_lang at top level ──
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(...) at test_spellcheck.R:116:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─TeXCheckR::check_spelling(...)
5. │ └─TeXCheckR::inputs_of(filename)
6. │ ├─... %>% rbindlist
7. │ └─base::lapply(c("input", "include"), extract_LaTeX_argument, tex_lines = lines_with_possible_inputs)
8. │ └─TeXCheckR (local) FUN(X[[i]], ...)
9. │ └─TeXCheckR::extract_mandatory_LaTeX_argument(...)
10. │ └─TeXCheckR::parse_tex(tex_lines)
11. │ ├─...[]
12. │ └─data.table:::`[.data.table`(...)
13. └─data.table::rbindlist(.)
── Failure ('test_spellcheck.R:128:3'): Lonesome footcites ─────────────────────
`check_spelling(footcite.tex)` threw an error with unexpected message.
Expected match: "[Ss]pellcheck"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(check_spelling(footcite.tex), regexp = "[Ss]pellcheck") at test_spellcheck.R:128:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─TeXCheckR::check_spelling(footcite.tex)
7. └─TeXCheckR::parse_tex(lines)
8. ├─...[]
9. └─data.table:::`[.data.table`(...)
── Error ('test_spellcheck.R:139:3'): Multi-ignore ─────────────────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(check_spelling(multi.tex, ignore_spelling_in_nth = list(mymulticmd = 2:3))) at test_spellcheck.R:139:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─TeXCheckR::check_spelling(multi.tex, ignore_spelling_in_nth = list(mymulticmd = 2:3))
5. └─TeXCheckR::parse_tex(lines)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test_spellcheck.R:145:3'): Like Energy-2018-WholesaleMarketPower ────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(...) at test_spellcheck.R:145:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─TeXCheckR::check_spelling(...)
5. └─TeXCheckR::parse_tex(lines)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test_spellcheck.R:150:3'): Spellcheck verb ──────────────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(check_spelling("spelling/verb.tex")) at test_spellcheck.R:150:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─TeXCheckR::check_spelling("spelling/verb.tex")
5. └─TeXCheckR::parse_tex(lines)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test_spellcheck.R:162:3'): pre-release + add to dictionary outside ──
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(check_spelling(tempfile.tex, pre_release = FALSE)) at test_spellcheck.R:162:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─TeXCheckR::check_spelling(tempfile.tex, pre_release = FALSE)
5. └─TeXCheckR::parse_tex(lines)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test_spellcheck.R:176:3'): known.correct.fixed ──────────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(...) at test_spellcheck.R:176:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─TeXCheckR::check_spelling(...)
5. └─TeXCheckR::parse_tex(lines)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Failure ('test_spellcheck_0-6-2.R:5:3'): grattanReporter #113 ───────────────
`check_spelling("spelling/ignore_113.tex")` threw an error with unexpected message.
Expected match: "failed"
Actual message: "attempt access index 11/11 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_spellcheck_0-6-2.R:5:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─TeXCheckR::check_spelling("spelling/ignore_113.tex")
7. │ └─TeXCheckR::inputs_of(filename)
8. │ ├─... %>% rbindlist
9. │ └─base::lapply(c("input", "include"), extract_LaTeX_argument, tex_lines = lines_with_possible_inputs)
10. │ └─TeXCheckR (local) FUN(X[[i]], ...)
11. │ └─TeXCheckR::extract_mandatory_LaTeX_argument(...)
12. │ └─TeXCheckR::parse_tex(tex_lines)
13. │ ├─...[]
14. │ └─data.table:::`[.data.table`(...)
15. └─data.table::rbindlist(.)
── Error ('test_spellcheck_0-6-2.R:7:3'): grattanReporter #113 ─────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(...) at test_spellcheck_0-6-2.R:7:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─TeXCheckR::check_spelling("spelling/ignore_113.tex", ignore_spelling_in_nth = list(foo = 1:2))
5. │ └─TeXCheckR::inputs_of(filename)
6. │ ├─... %>% rbindlist
7. │ └─base::lapply(c("input", "include"), extract_LaTeX_argument, tex_lines = lines_with_possible_inputs)
8. │ └─TeXCheckR (local) FUN(X[[i]], ...)
9. │ └─TeXCheckR::extract_mandatory_LaTeX_argument(...)
10. │ └─TeXCheckR::parse_tex(tex_lines)
11. │ ├─...[]
12. │ └─data.table:::`[.data.table`(...)
13. └─data.table::rbindlist(.)
── Error ('test_spellcheck_0-7-0.R:13:3'): Possessive apostrophes don't trigger false positives ──
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(check_spelling(tempf.tex)) at test_spellcheck_0-7-0.R:13:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─TeXCheckR::check_spelling(tempf.tex)
5. └─TeXCheckR::parse_tex(lines)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test_utils.R:67:3'): transpose ──────────────────────────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─parse_tex(c("A{}", "B[a]{b{c}{d}}z")) %>% ... at test_utils.R:67:3
2. └─TeXCheckR::parse_tex(c("A{}", "B[a]{b{c}{d}}z"))
3. ├─...[]
4. └─data.table:::`[.data.table`(...)
── Failure ('test_validate_bibliography.R:4:3'): Bills of Parliament ───────────
`validate_bibliography(file = "./validate-bib/invalid-Bill.bib")` threw an error with unexpected message.
Expected match: "Bills? of Parliament"
Actual message: "attempt access index 2/2 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test_validate_bibliography.R:4:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─TeXCheckR::validate_bibliography(file = "./validate-bib/invalid-Bill.bib")
7. │ └─... %>% .[newspaper_by_url]
8. ├─data.table::setkey(., journal_from_url)
9. ├─.[, `:=`(is_article, any(grepl("^@Article", text))), by = entry_no]
10. └─data.table:::`[.data.table`(...)
── Error ('test_validate_bibliography.R:6:3'): Bills of Parliament ─────────────
Error in ``[.data.table`(., , `:=`(is_article, any(grepl("^@Article", text))), by = entry_no)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(validate_bibliography(file = "./validate-bib/valid-Bill.bib")) at test_validate_bibliography.R:6:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─TeXCheckR::validate_bibliography(file = "./validate-bib/valid-Bill.bib")
5. │ └─... %>% .[newspaper_by_url]
6. ├─data.table::setkey(., journal_from_url)
7. ├─.[, `:=`(is_article, any(grepl("^@Article", text))), by = entry_no]
8. └─data.table:::`[.data.table`(...)
── Error ('test_validate_bibliography.R:50:5'): Hypercorrected mendeleys ───────
Error in ``[.data.table`(., , `:=`(is_article, any(grepl("^@Article", text))), by = entry_no)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_output(...) at test_validate_bibliography.R:50:5
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(path, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─TeXCheckR::validate_bibliography(file = "./validate-bib/invalid-hypercorrected.bib")
11. │ └─... %>% .[newspaper_by_url]
12. ├─data.table::setkey(., journal_from_url)
13. ├─.[, `:=`(is_article, any(grepl("^@Article", text))), by = entry_no]
14. └─data.table:::`[.data.table`(...)
── Error ('test_validate_bibliography.R:85:5'): DOI ────────────────────────────
Error in ``[.data.table`(., , `:=`(is_article, any(grepl("^@Article", text))), by = entry_no)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_output(...) at test_validate_bibliography.R:85:5
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(path, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─TeXCheckR::validate_bibliography(file = doi_bib)
11. │ └─... %>% .[newspaper_by_url]
12. ├─data.table::setkey(., journal_from_url)
13. ├─.[, `:=`(is_article, any(grepl("^@Article", text))), by = entry_no]
14. └─data.table:::`[.data.table`(...)
── Error ('test_veto_sic.R:62:3'): With check_spelling ─────────────────────────
Error in ``[.data.table`(out, tex_group == j, `:=`((GROUP_IDj), .GRP), by = c("optional_tex_group", tgj))`: attempt access index 11/11 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_null(check_spelling("./spelling/sic/sic-vetoes.tex")) at test_veto_sic.R:62:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─TeXCheckR::check_spelling("./spelling/sic/sic-vetoes.tex")
5. └─TeXCheckR::parse_tex(lines)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
[ FAIL 71 | WARN 0 | SKIP 14 | PASS 196 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [4s/7s] OK
- checking HTML version of manual ... [2s/3s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs