Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(MetaComp)
  > 
  > test_check("MetaComp")
  [1] "gottcha"
  [1] "kraken"
  [ FAIL 14 | WARN 7 | SKIP 0 | PASS 114 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_pipeline.R:28:1'): (code run outside of `test_that()`) ─────────
  Error in `Cairo(width, height, file, "pdf", pointsize = pointsize, bg = bg, 
      units = "in", title = title, ...)`: Graphics API version mismatch
  Backtrace:
      ▆
   1. └─MetaComp::plot_merged_assignment(...) at test_pipeline.R:28:1
   2.   └─Cairo::CairoPDF(...)
   3.     └─Cairo::Cairo(...)
  ── Error ('test_plot_bwa_assignment.R:18:1'): (code run outside of `test_that()`) ──
  Error in `Cairo(width, height, file, "pdf", pointsize = pointsize, bg = bg, 
      units = "in", title = title, ...)`: Graphics API version mismatch
  Backtrace:
      ▆
   1. └─MetaComp::plot_edge_assignment(...) at test_plot_bwa_assignment.R:18:1
   2.   └─Cairo::CairoPDF(...)
   3.     └─Cairo::Cairo(...)
  ── Error ('test_plot_diamond_assignment.R:18:1'): (code run outside of `test_that()`) ──
  Error in `Cairo(width, height, file, "pdf", pointsize = pointsize, bg = bg, 
      units = "in", title = title, ...)`: Graphics API version mismatch
  Backtrace:
      ▆
   1. └─MetaComp::plot_edge_assignment(...) at test_plot_diamond_assignment.R:18:1
   2.   └─Cairo::CairoPDF(...)
   3.     └─Cairo::Cairo(...)
  ── Error ('test_plot_gottcha_assignment.R:18:1'): (code run outside of `test_that()`) ──
  Error in `Cairo(width, height, file, "pdf", pointsize = pointsize, bg = bg, 
      units = "in", title = title, ...)`: Graphics API version mismatch
  Backtrace:
      ▆
   1. └─MetaComp::plot_edge_assignment(...) at test_plot_gottcha_assignment.R:18:1
   2.   └─Cairo::CairoPDF(...)
   3.     └─Cairo::Cairo(...)
  ── Error ('test_plot_kraken_assignment.R:18:1'): (code run outside of `test_that()`) ──
  Error in `Cairo(width, height, file, "pdf", pointsize = pointsize, bg = bg, 
      units = "in", title = title, ...)`: Graphics API version mismatch
  Backtrace:
      ▆
   1. └─MetaComp::plot_edge_assignment(...) at test_plot_kraken_assignment.R:18:1
   2.   └─Cairo::CairoPDF(...)
   3.     └─Cairo::Cairo(...)
  ── Error ('test_plot_merged_assignment_b.R:73:1'): (code run outside of `test_that()`) ──
  Error in `Cairo(width, height, file, "pdf", pointsize = pointsize, bg = bg, 
      units = "in", title = title, ...)`: Graphics API version mismatch
  Backtrace:
      ▆
   1. └─MetaComp::plot_merged_assignment(...) at test_plot_merged_assignment_b.R:73:1
   2.   └─Cairo::CairoPDF(...)
   3.     └─Cairo::Cairo(...)
  ── Error ('test_plot_merged_assignment_d.R:73:1'): (code run outside of `test_that()`) ──
  Error in `Cairo(width, height, file, "pdf", pointsize = pointsize, bg = bg, 
      units = "in", title = title, ...)`: Graphics API version mismatch
  Backtrace:
      ▆
   1. └─MetaComp::plot_merged_assignment(...) at test_plot_merged_assignment_d.R:73:1
   2.   └─Cairo::CairoPDF(...)
   3.     └─Cairo::Cairo(...)
  ── Error ('test_plot_merged_assignment_g.R:71:1'): (code run outside of `test_that()`) ──
  Error in `Cairo(width, height, file, "pdf", pointsize = pointsize, bg = bg, 
      units = "in", title = title, ...)`: Graphics API version mismatch
  Backtrace:
      ▆
   1. └─MetaComp::plot_merged_assignment(...) at test_plot_merged_assignment_g.R:71:1
   2.   └─Cairo::CairoPDF(...)
   3.     └─Cairo::Cairo(...)
  ── Error ('test_plot_merged_assignment_g2.R:71:1'): (code run outside of `test_that()`) ──
  Error in `Cairo(width, height, file, "pdf", pointsize = pointsize, bg = bg, 
      units = "in", title = title, ...)`: Graphics API version mismatch
  Backtrace:
      ▆
   1. └─MetaComp::plot_merged_assignment(...) at test_plot_merged_assignment_g2.R:71:1
   2.   └─Cairo::CairoPDF(...)
   3.     └─Cairo::Cairo(...)
  ── Error ('test_plot_merged_assignment_k.R:73:1'): (code run outside of `test_that()`) ──
  Error in `Cairo(width, height, file, "pdf", pointsize = pointsize, bg = bg, 
      units = "in", title = title, ...)`: Graphics API version mismatch
  Backtrace:
      ▆
   1. └─MetaComp::plot_merged_assignment(...) at test_plot_merged_assignment_k.R:73:1
   2.   └─Cairo::CairoPDF(...)
   3.     └─Cairo::Cairo(...)
  ── Error ('test_plot_merged_assignment_m.R:73:1'): (code run outside of `test_that()`) ──
  Error in `Cairo(width, height, file, "pdf", pointsize = pointsize, bg = bg, 
      units = "in", title = title, ...)`: Graphics API version mismatch
  Backtrace:
      ▆
   1. └─MetaComp::plot_merged_assignment(...) at test_plot_merged_assignment_m.R:73:1
   2.   └─Cairo::CairoPDF(...)
   3.     └─Cairo::Cairo(...)
  ── Error ('test_plot_merged_assignment_p.R:74:1'): (code run outside of `test_that()`) ──
  Error in `Cairo(width, height, file, "pdf", pointsize = pointsize, bg = bg, 
      units = "in", title = title, ...)`: Graphics API version mismatch
  Backtrace:
      ▆
   1. └─MetaComp::plot_merged_assignment(...) at test_plot_merged_assignment_p.R:74:1
   2.   └─Cairo::CairoPDF(...)
   3.     └─Cairo::Cairo(...)
  ── Error ('test_plot_metaphlan_assignment.R:18:1'): (code run outside of `test_that()`) ──
  Error in `Cairo(width, height, file, "pdf", pointsize = pointsize, bg = bg, 
      units = "in", title = title, ...)`: Graphics API version mismatch
  Backtrace:
      ▆
   1. └─MetaComp::plot_edge_assignment(...) at test_plot_metaphlan_assignment.R:18:1
   2.   └─Cairo::CairoPDF(...)
   3.     └─Cairo::Cairo(...)
  ── Error ('test_plot_pangia_assignment.R:18:1'): (code run outside of `test_that()`) ──
  Error in `Cairo(width, height, file, "pdf", pointsize = pointsize, bg = bg, 
      units = "in", title = title, ...)`: Graphics API version mismatch
  Backtrace:
      ▆
   1. └─MetaComp::plot_edge_assignment(...) at test_plot_pangia_assignment.R:18:1
   2.   └─Cairo::CairoPDF(...)
   3.     └─Cairo::Cairo(...)
  
  [ FAIL 14 | WARN 7 | SKIP 0 | PASS 114 ]
  Error: Test failures
  Execution halted