Running 'regtest-plot.R' [1s/1s]
  Running 'regtest-summarize.R' [1s/1s]
  Running 'testthat.R' [14s/17s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(papeR)
  Loading required package: car
  Loading required package: carData
  Loading required package: xtable
  Registered S3 method overwritten by 'papeR':
    method    from
    Anova.lme car 
  
  Attaching package: 'papeR'
  
  The following object is masked from 'package:utils':
  
      toLatex
  
  > 
  > test_check("papeR")
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 238 ]
  
  == Failed tests ================================================================
  -- Failure (test-toLatex.R:77:5): print.latex.bibtex works as expected ---------
  `print\(toLatex\(sessionInfo\(\), file = NULL\)\)` does not match ".*begin\\{itemize\\}.*item papeR.*.*end\\{itemize\\}.*Hofner B.*papeR.*A Toolbox for Writing Pretty".
  Actual value: "\\\\begin\{itemize\}\\\\raggedright\\n  \\\\item R Under development \(unstable\) \(2022-09-04 r82805\)\\\\citep\{pkg:base\}\\n  \\\\item Used packages: \\n  \\\\begin\{itemize\}\\n\\\\item Matrix \(vers\. 1\.4-1\) \\\\citep\{pkg:Matrix\}\\n\\\\item car \(vers\. 3\.1-0\) \\\\citep\{pkg:car\}\\n\\\\item carData \(vers\. 3\.0-5\) \\\\citep\{pkg:carData\}\\n\\\\item foreign \(vers\. 0\.8-82\) \\\\citep\{pkg:foreign\}\\n\\\\item lme4 \(vers\. 1\.1-30\) \\\\citep\{pkg:lme4\}\\n\\\\item nlme \(vers\. 3\.1-159\) \\\\citep\{pkg:nlme1,pkg:nlme2\}\\n\\\\item papeR \(vers\. 1\.0-5\) \\\\citep\{pkg:papeR\}\\n\\\\item survival \(vers\. 3\.4-0\) \\\\citep\{pkg:survival1,pkg:survival2\}\\n\\\\item testthat \(vers\. 3\.1\.4\) \\\\citep\{pkg:testthat\}\\n\\\\item xtable \(vers\. 1\.8-4\) \\\\citep\{pkg:xtable\}\\n  \\\\end\{itemize\}\\n\\\\end\{itemize\}\\n\\n\\nR Core Team \(2022\)\. _R: A Language and Environment for Statistical\\nComputing_\. R Foundation for Statistical Computing, Vienna, Austria\.\\n<https://www\.R-project\.org/>\.\\n\\nBates D, Maechler M, Jagan M \(2022\)\. _Matrix: Sparse and Dense Matrix\\nClasses and Methods_\. R package version 1\.4-1,\\n<https://CRAN\.R-project\.org/package=Matrix>\.\\n\\nFox J, Weisberg S \(2019\)\. _An R Companion to Applied Regression_, Third\\nedition\. Sage, Thousand Oaks CA\.\\n<https://socialsciences\.mcmaster\.ca/jfox/Books/Companion/>\.\\n\\nFox J, Weisberg S, Price B \(2022\)\. _carData: Companion to Applied\\nRegression Data Sets_\. R package version 3\.0-5,\\n<https://CRAN\.R-project\.org/package=carData>\.\\n\\nR Core Team \(2022\)\. _foreign: Read Data Stored by 'Minitab', 'S',\\n'SAS', 'SPSS', 'Stata', 'Systat', 'Weka', 'dBase', \.\.\._\. R package\\nversion 0\.8-82, <https://CRAN\.R-project\.org/package=foreign>\.\\n\\nBates D, M\\xe4chler M, Bolker B, Walker S \(2015\)\. "Fitting Linear\\nMixed-Effects Models Using lme4\." _Journal of Statistical Software_,\\n\*67\*\(1\), 1-48\. doi:10\.18637/jss\.v067\.i01\\n<https://doi\.org/10\.18637/jss\.v067\.i01>\.\\n\\nPinheiro J, Bates D, R Core Team \(2022\)\. _nlme: Linear and Nonlinear\\nMixed Effects Models_\. R package version 3\.1-159,\\n<https://CRAN\.R-project\.org/package=nlme>\.\\n\\nPinheiro JC, Bates DM \(2000\)\. _Mixed-Effects Models in S and S-PLUS_\.\\nSpringer, New York\. doi:10\.1007/b98882\\n<https://doi\.org/10\.1007/b98882>\.\\n\\nHofner B \(2021\)\. _papeR: A Toolbox for Writing Pretty Papers and\\nReports_\. R package version 1\.0-5,\\n<https://CRAN\.R-project\.org/package=papeR>\.\\n\\nTherneau T \(2022\)\. _A Package for Survival Analysis in R_\. R package\\nversion 3\.4-0, <https://CRAN\.R-project\.org/package=survival>\.\\n\\nTerry M\. Therneau, Patricia M\. Grambsch \(2000\)\. _Modeling Survival\\nData: Extending the Cox Model_\. Springer, New York\. ISBN 0-387-98784-3\.\\n\\nWickham H \(2011\)\. "testthat: Get Started with Testing\." _The R\\nJournal_, \*3\*, 5-10\.\\n<https://journal\.r-project\.org/archive/2011-1/RJournal_2011-1_Wickham\.pdf>\.\\n\\nDahl D, Scott D, Roosen C, Magnusson A, Swinton J \(2019\)\. _xtable:\\nExport Tables to LaTeX or HTML_\. R package version 1\.8-4,\\n<https://CRAN\.R-project\.org/package=xtable>\."
  Backtrace:
      x
   1. \-testthat::expect_output(...) at test-toLatex.R:77:4
   2.   \-testthat::expect_match(...)
   3.     \-testthat:::expect_match_(...)
  
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 238 ]
  Error: Test failures
  Execution halted