Running ‘testthat.R’ [15s/20s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(texPreview)
  > test_check("texPreview")
  Use of uninitialized value $Master in concatenation (.) or string at /usr/bin/tlmgr line 87.
  Use of uninitialized value $Master in concatenation (.) or string at /usr/bin/tlmgr line 88.
  Can't locate TeXLive/TLConfig.pm in @INC (you may need to install the TeXLive::TLConfig module) (@INC entries checked: /texmf-dist/scripts/texlive /tlpkg /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1 /usr/local/share/perl/5.40.1 /usr/lib/x86_64-linux-gnu/perl5/5.40 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40 /usr/local/lib/site_perl) at /usr/bin/tlmgr line 97.
  BEGIN failed--compilation aborted at /usr/bin/tlmgr line 97.
  [ FAIL 3 | WARN 1 | SKIP 3 | PASS 27 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • On CRAN (3): 'test-rmd.R:24:1', 'test-svg.R:9:1', 'test-viewer.R:3:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-kable.R:89:3'): input ──────────────────────────────────────────
  Error: LaTeX failed to compile tex_tempDoc.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See tex_tempDoc.log for more info.
  Backtrace:
       ▆
    1. ├─texPreview::tex_preview(tex, returnType = "input") at test-kable.R:89:3
    2. └─texPreview:::tex_preview.character(tex, returnType = "input")
    3.   └─texPreview:::tex_preview.default(...)
    4.     └─texPreview:::tex_build(tex_lines, stem, tex_message, ...)
    5.       └─tinytex::latexmk(...)
    6.         └─tinytex:::latexmk_emu(...)
    7.           └─tinytex (local) run_engine()
    8.             ├─tinytex:::system2_quiet(...)
    9.             └─tinytex (local) on_error()
   10.               └─tinytex:::show_latex_error(file, logfile)
  ── Error ('test-rmd.R:11:3'): html ─────────────────────────────────────────────
  Error: LaTeX failed to compile test_htmlDoc.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See test_htmlDoc.log for more info.
  Backtrace:
       ▆
    1. ├─texPreview::tex_preview(...)
    2. └─texPreview:::tex_preview.knitr_kable(...)
    3.   ├─texPreview::tex_preview(...)
    4.   └─texPreview:::tex_preview.character(...)
    5.     └─texPreview:::tex_preview.default(...)
    6.       └─texPreview:::tex_build(tex_lines, stem, tex_message, ...)
    7.         └─tinytex::latexmk(...)
    8.           └─tinytex:::latexmk_emu(...)
    9.             └─tinytex (local) run_engine()
   10.               ├─tinytex:::system2_quiet(...)
   11.               └─tinytex (local) on_error()
   12.                 └─tinytex:::show_latex_error(file, logfile)
  ── Error ('test-tex.R:33:5'): porting to tex no filedir ────────────────────────
  Error: LaTeX failed to compile tex_tempDoc.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See tex_tempDoc.log for more info.
  Backtrace:
       ▆
    1. ├─texPreview::tex_preview(obj = xtable::xtable(head(iris, 10))) at test-tex.R:33:5
    2. └─texPreview:::tex_preview.xtable(...)
    3.   ├─texPreview::tex_preview(...)
    4.   └─texPreview:::tex_preview.character(...)
    5.     └─texPreview:::tex_preview.default(...)
    6.       └─texPreview:::tex_build(tex_lines, stem, tex_message, ...)
    7.         └─tinytex::latexmk(...)
    8.           └─tinytex:::latexmk_emu(...)
    9.             └─tinytex (local) run_engine()
   10.               ├─tinytex:::system2_quiet(...)
   11.               └─tinytex (local) on_error()
   12.                 └─tinytex:::show_latex_error(file, logfile)
  
  [ FAIL 3 | WARN 1 | SKIP 3 | PASS 27 ]
  Error:
  ! Test failures.
  Execution halted