Running ‘testthat.R’ [24s/24s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(MetaComp)
  > 
  > test_check("MetaComp")
  [1] "gottcha"
  [1] "kraken"
  Saving _problems/test_load_metaphlan_assignment-14.R
  Saving _problems/test_pipeline-37.R
  Saving _problems/test_plot_bwa_assignment-31.R
  Saving _problems/test_plot_diamond_assignment-31.R
  Saving _problems/test_plot_gottcha_assignment-31.R
  Saving _problems/test_plot_kraken_assignment-31.R
  Saving _problems/test_plot_merged_assignment_b-80.R
  Saving _problems/test_plot_merged_assignment_d-80.R
  Saving _problems/test_plot_merged_assignment_g-78.R
  Saving _problems/test_plot_merged_assignment_g2-78.R
  Saving _problems/test_plot_merged_assignment_k-80.R
  Saving _problems/test_plot_merged_assignment_m-80.R
  Saving _problems/test_plot_merged_assignment_p-81.R
  Saving _problems/test_plot_metaphlan_assignment-31.R
  Saving _problems/test_plot_pangia_assignment-31.R
  [ FAIL 15 | WARN 21 | SKIP 0 | PASS 108 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_load_metaphlan_assignment.R:14:1'): (code run outside of `test_that()`) ──
  Error in `matches("LEVEL")`: could not find function "matches"
  Backtrace:
      ▆
   1. └─testthat::expect_that(colnames(dat)[1], matches("LEVEL")) at test_load_metaphlan_assignment.R:14:1
  ── Error ('test_pipeline.R:37:1'): (code run outside of `test_that()`) ─────────
  Error in `is_true()`: could not find function "is_true"
  Backtrace:
      ▆
   1. └─testthat::expect_that(...) at test_pipeline.R:37:1
  ── Error ('test_plot_bwa_assignment.R:31:1'): (code run outside of `test_that()`) ──
  Error in `is_true()`: could not find function "is_true"
  Backtrace:
      ▆
   1. └─testthat::expect_that(file.exists(png_name), is_true()) at test_plot_bwa_assignment.R:31:1
  ── Error ('test_plot_diamond_assignment.R:31:1'): (code run outside of `test_that()`) ──
  Error in `is_true()`: could not find function "is_true"
  Backtrace:
      ▆
   1. └─testthat::expect_that(file.exists(png_name), is_true()) at test_plot_diamond_assignment.R:31:1
  ── Error ('test_plot_gottcha_assignment.R:31:1'): (code run outside of `test_that()`) ──
  Error in `is_true()`: could not find function "is_true"
  Backtrace:
      ▆
   1. └─testthat::expect_that(file.exists(png_name), is_true()) at test_plot_gottcha_assignment.R:31:1
  ── Error ('test_plot_kraken_assignment.R:31:1'): (code run outside of `test_that()`) ──
  Error in `is_true()`: could not find function "is_true"
  Backtrace:
      ▆
   1. └─testthat::expect_that(file.exists(png_name), is_true()) at test_plot_kraken_assignment.R:31:1
  ── Error ('test_plot_merged_assignment_b.R:80:1'): (code run outside of `test_that()`) ──
  Error in `is_true()`: could not find function "is_true"
  Backtrace:
      ▆
   1. └─testthat::expect_that(...) at test_plot_merged_assignment_b.R:80:1
  ── Error ('test_plot_merged_assignment_d.R:80:1'): (code run outside of `test_that()`) ──
  Error in `is_true()`: could not find function "is_true"
  Backtrace:
      ▆
   1. └─testthat::expect_that(...) at test_plot_merged_assignment_d.R:80:1
  ── Error ('test_plot_merged_assignment_g.R:78:1'): (code run outside of `test_that()`) ──
  Error in `is_true()`: could not find function "is_true"
  Backtrace:
      ▆
   1. └─testthat::expect_that(...) at test_plot_merged_assignment_g.R:78:1
  ── Error ('test_plot_merged_assignment_g2.R:78:1'): (code run outside of `test_that()`) ──
  Error in `is_true()`: could not find function "is_true"
  Backtrace:
      ▆
   1. └─testthat::expect_that(...) at test_plot_merged_assignment_g2.R:78:1
  ── Error ('test_plot_merged_assignment_k.R:80:1'): (code run outside of `test_that()`) ──
  Error in `is_true()`: could not find function "is_true"
  Backtrace:
      ▆
   1. └─testthat::expect_that(...) at test_plot_merged_assignment_k.R:80:1
  ── Error ('test_plot_merged_assignment_m.R:80:1'): (code run outside of `test_that()`) ──
  Error in `is_true()`: could not find function "is_true"
  Backtrace:
      ▆
   1. └─testthat::expect_that(...) at test_plot_merged_assignment_m.R:80:1
  ── Error ('test_plot_merged_assignment_p.R:81:1'): (code run outside of `test_that()`) ──
  Error in `is_true()`: could not find function "is_true"
  Backtrace:
      ▆
   1. └─testthat::expect_that(...) at test_plot_merged_assignment_p.R:81:1
  ── Error ('test_plot_metaphlan_assignment.R:31:1'): (code run outside of `test_that()`) ──
  Error in `is_true()`: could not find function "is_true"
  Backtrace:
      ▆
   1. └─testthat::expect_that(file.exists(png_name), is_true()) at test_plot_metaphlan_assignment.R:31:1
  ── Error ('test_plot_pangia_assignment.R:31:1'): (code run outside of `test_that()`) ──
  Error in `is_true()`: could not find function "is_true"
  Backtrace:
      ▆
   1. └─testthat::expect_that(file.exists(png_name), is_true()) at test_plot_pangia_assignment.R:31:1
  
  [ FAIL 15 | WARN 21 | SKIP 0 | PASS 108 ]
  Error:
  ! Test failures.
  Execution halted