Running ‘testthat.R’ [10s/24s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RndTexExams)
  Loading required package: CopyDetect
  Loading required package: irtoys
  Loading required package: sm
  Package 'sm', version 2.2-5.4: type help(sm) for summary information
  Loading required package: ltm
  Loading required package: MASS
  
  Attaching package: 'MASS'
  
  The following object is masked from 'package:sm':
  
      muscle
  
  Loading required package: msm
  Loading required package: polycor
  > 
  > test_check("RndTexExams")
  
  rte: Changing LaTeX file into dataframe... Done
  rte: Checking for error in inputs... Done
  rte: pdflatex flavor: texlive
  rte: Type of OS: Linux
  rte: Latex compile function: texi2pdf
  rte: Type of exam template: examdesign
  rte: Number of mchoice questions: 4
  rte: Building Test #1...Done
  rte: Building Test #2...Done
  rte: FINISHED - Check folder PdfOut for pdf files
  rte: Changing LaTeX file into dataframe... Done
  rte: Checking for error in inputs... Done
  rte: pdflatex flavor: texlive
  rte: Type of OS: Linux
  rte: Latex compile function: texi2pdf
  rte: Type of exam template: exam
  rte: Number of mchoice questions: 4
  rte: Building Test #1...── 1. Error: (unknown) (@test_rte.R#57)  ───────────────────────────────────────
  Running 'texi2dvi' on 'latexOut/MyRandomTest_1.tex' failed.
  Messages:
  /usr/bin/texi2dvi: pdflatex exited with bad status, quitting.
  1: rte.build.rdn.test(list.in = list.out, f.out = f.out, n.test = n.test, n.question = n.question, 
         latex.dir.out = latex.dir.out, pdf.dir.out = pdf.dir.out, do.randomize.questions = T, 
         do.randomize.answers = T, do.clean.up = T) at testthat/test_rte.R:57
  2: rte.compile.latex(f.temp.tex, pdf.dir.out = pdf.dir.out, latex.compile.fct = latex.compile.fct)
  3: tools::texi2pdf(file = f.in, clean = do.clean.up, quiet = T)
  4: texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, texi2dvi = texi2dvi, 
         texinputs = texinputs, index = index)
  5: stop(msg, domain = NA)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 4 SKIPPED: 0 FAILED: 1
  1. Error: (unknown) (@test_rte.R#57) 
  
  Error: testthat unit tests failed
  Execution halted