Running ‘testthat.R’ [36s/41s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(huxtable)
  > 
  > 
  > we_are_in_R_CMD_check <- TRUE
  > test_check("huxtable")
  ── 1. Error: quick_pdf works (@test-quick-output.R#41)  ────────────────────────
  Running 'texi2dvi' on '/tmp/RtmpwqNaDv/file38c5394211aa.tex' failed.
  Messages:
  /usr/bin/texi2dvi: pdflatex exited with bad status, quitting.
  1: expect_silent(quick_pdf(m, dfr, ht, file = tf)) at testthat/test-quick-output.R:41
  2: quasi_capture(enquo(object), evaluate_promise)
  3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
  4: withr::with_output_sink(temp, withCallingHandlers(withVisible(code), warning = handle_warning, 
         message = handle_message))
  5: force(code)
  6: withCallingHandlers(withVisible(code), warning = handle_warning, message = handle_message)
  7: withVisible(code)
  8: eval_bare(get_expr(quo), get_env(quo))
  9: quick_pdf(m, dfr, ht, file = tf)
  10: tools::texi2pdf(latex_file, clean = TRUE)
  11: texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, texi2dvi = texi2dvi, 
         texinputs = texinputs, index = index)
  12: stop(msg, domain = NA)
  
  ── 2. Error: quick_pdf works with height and width options (@test-quick-output.R
  Running 'texi2dvi' on '/tmp/RtmpwqNaDv/file38c511c2787.tex' failed.
  Messages:
  /usr/bin/texi2dvi: pdflatex exited with bad status, quitting.
  1: expect_silent(quick_pdf(m, dfr, ht, file = tf, height = "4in")) at testthat/test-quick-output.R:53
  2: quasi_capture(enquo(object), evaluate_promise)
  3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
  4: withr::with_output_sink(temp, withCallingHandlers(withVisible(code), warning = handle_warning, 
         message = handle_message))
  5: force(code)
  6: withCallingHandlers(withVisible(code), warning = handle_warning, message = handle_message)
  7: withVisible(code)
  8: eval_bare(get_expr(quo), get_env(quo))
  9: quick_pdf(m, dfr, ht, file = tf, height = "4in")
  10: tools::texi2pdf(latex_file, clean = TRUE)
  11: texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, texi2dvi = texi2dvi, 
         texinputs = texinputs, index = index)
  12: stop(msg, domain = NA)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 841 SKIPPED: 57 FAILED: 2
  1. Error: quick_pdf works (@test-quick-output.R#41) 
  2. Error: quick_pdf works with height and width options (@test-quick-output.R#53) 
  
  Error: testthat unit tests failed
  Execution halted