Running ‘testthat.R’ [28s/31s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("OhdsiReportGenerator")
  Loading required package: OhdsiReportGenerator
  Connecting using SQLite driver
  [31m
  
  processing file: assure_study_presentation_multiple.qmd
  [39m[31moutput file: assure_study_presentation_multiple.knit.md
  
  [39mClosing database connection
  [1mpandoc [22m
    to: revealjs
    output-file: assure_study_presentation_multiple.html
    standalone: true
    self-contained: true
    wrap: none
    default-image-extension: png
    html-math-method:
      method: mathjax
      url: >-
        https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js?config=TeX-AMS_HTML-full
    slide-level: 2
    variables: {}
    
  [1mmetadata[22m
    link-citations: true
    width: 1050
    height: 700
    margin: 0.1
    center: false
    navigationMode: linear
    controlsLayout: edges
    controlsTutorial: false
    hash: true
    history: true
    hashOneBasedIndex: false
    fragmentInURL: false
    transition: none
    backgroundTransition: none
    pdfSeparateFragments: false
    lang: en
    auto-stretch: true
    title: Signal Evaluation Report
    scrollable: true
    theme:
      - default
      - presentation_style.scss
    logo: img/logo.png
    title-slide-attributes:
      data-background-color: '#EB1700'
    footer: ASSURE Standardized report
    slideNumber: true
    showSlideNumber: all
    menu:
      side: left
      numbers: true
    
  Error running filter /opt/quarto/share/filters/main.lua:
  /opt/quarto/share/filters/main.lua:21750: attempt to index a nil value (field 'tabs')
  stack traceback:
  	/opt/quarto/share/filters/main.lua:935: in function </opt/quarto/share/filters/main.lua:934>
  	(...tail calls...)
  	/opt/quarto/share/filters/main.lua:1152: in function </opt/quarto/share/filters/main.lua:1147>
  	(...tail calls...)
  	/opt/quarto/share/filters/main.lua:2943: in function </opt/quarto/share/filters/main.lua:2937>
  	(...tail calls...)
  	...uarto/share/pandoc/datadir/../../filters/modules/jog.lua:34: in upvalue 'run_filter_function'
  	...uarto/share/pandoc/datadir/../../filters/modules/jog.lua:223: in function <...uarto/share/pandoc/datadir/../../filters/modules/jog.lua:202>
  	(...tail calls...)
  	[C]: in function 'pandoc.List.map'
  	...uarto/share/pandoc/datadir/../../filters/modules/jog.lua:125: in upvalue 'recurse'
  	...uarto/share/pandoc/datadir/../../filters/modules/jog.lua:222: in local 'jogger'
  	...uarto/share/pandoc/datadir/../../filters/modules/jog.lua:98: in upvalue 'recurse'
  	...uarto/share/pandoc/datadir/../../filters/modules/jog.lua:222: in function <...uarto/share/pandoc/datadir/../../filters/modules/jog.lua:202>
  	(...tail calls...)
  	...	(skipping 2 levels)
  	...uarto/share/pandoc/datadir/../../filters/modules/jog.lua:98: in upvalue 'recurse'
  	...uarto/share/pandoc/datadir/../../filters/modules/jog.lua:222: in function <...uarto/share/pandoc/datadir/../../filters/modules/jog.lua:202>
  	(...tail calls...)
  	[C]: in function 'pandoc.List.map'
  	...uarto/share/pandoc/datadir/../../filters/modules/jog.lua:125: in upvalue 'recurse'
  	...uarto/share/pandoc/datadir/../../filters/modules/jog.lua:222: in local 'jogger'
  	...uarto/share/pandoc/datadir/../../filters/modules/jog.lua:171: in upvalue 'recurse'
  	...uarto/share/pandoc/datadir/../../filters/modules/jog.lua:222: in function <...uarto/share/pandoc/datadir/../../filters/modules/jog.lua:202>
  	(...tail calls...)
  	/opt/quarto/share/filters/main.lua:572: in function </opt/quarto/share/filters/main.lua:550>
  	(...tail calls...)
  	/opt/quarto/share/filters/main.lua:1318: in local 'callback'
  	/opt/quarto/share/filters/main.lua:1336: in upvalue 'run_emulated_filter_chain'
  	/opt/quarto/share/filters/main.lua:1372: in function </opt/quarto/share/filters/main.lua:1369>
  [ FAIL 1 | WARN 1 | SKIP 2 | PASS 385 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • empty test (1): 'test-Helpers.R:89:1'
  • skip prediction report due to odd linux error (1):
    'test-PredictionReport.R:5:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-Generate.R:10:3'): generatePresentationMultiple ────────────────
  Error in `quarto::quarto_render(input = file.path(intermediateDir, "presentation", 
      "assure_study_presentation_multiple.qmd"), execute_params = list(server = server, 
      username = username, password = password, dbms = dbms, resultsSchema = resultsSchema, 
      targetId = targetId, targetName = targetName, cmSubsetId = cmSubsetId, 
      sccsSubsetId = sccsSubsetId, indicationName = indicationName, 
      outcomeIds = outcomeIds, outcomeNames = outcomeNames, comparatorIds = comparatorIds, 
      comparatorNames = comparatorNames, covariateIds = covariateIds, 
      title = title, lead = lead, date = date, details = details, 
      evaluationText = evaluationText))`: ✖ Error running quarto cli.
  Caused by error:
  ! System command 'quarto' failed
  Backtrace:
      ▆
   1. └─OhdsiReportGenerator::generatePresentationMultiple(...) at test-Generate.R:10:3
   2.   └─quarto::quarto_render(...)
   3.     └─quarto:::quarto_run(args, echo = TRUE, quarto_bin = quarto_bin)
   4.       └─base::tryCatch(...)
   5.         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   6.           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   7.             └─value[[3L]](cond)
   8.               └─cli::cli_abort(msg, call = .call, parent = e)
   9.                 └─rlang::abort(...)
  
  [ FAIL 1 | WARN 1 | SKIP 2 | PASS 385 ]
  Error: Test failures
  Execution halted
  Closing database connection