Running ‘testthat.R’ [3s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(pcr)
  > 
  > test_check("pcr")
  [ FAIL 12 | WARN 1 | SKIP 0 | PASS 74 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_analyses_fun.R:44:3'): pcr_ddct works ────────────────────────
  class(gg) not identical to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  ── Failure ('test_analyses_fun.R:83:3'): pcr_dct works ─────────────────────────
  class(gg) not identical to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  ── Failure ('test_analyses_fun.R:144:3'): pcr_curve in separate_tube mode ──────
  class(gg) not identical to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  ── Failure ('test_assessment_fun.R:22:3'): pcr_efficiency calculates the correct intercept and slope ──
  class(gg) not identical to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  ── Failure ('test_assessment_fun.R:43:3'): pcr_standard calculates the correct intercept and slope ──
  class(gg) not identical to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  ── Failure ('test_plotting_fun.R:14:3'): .pcr_plot_analyze returns a ggplot ────
  class(gg) not identical to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  ── Failure ('test_plotting_fun.R:23:3'): .pcr_plot_analyze returns a ggplot ────
  class(gg) not identical to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  ── Failure ('test_plotting_fun.R:27:3'): .pcr_plot_analyze returns a ggplot ────
  class(gg) not identical to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  ── Failure ('test_plotting_fun.R:42:3'): .pcr_plot_analyze returns a dodge columns plot ──
  class(gg) not identical to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  ── Failure ('test_plotting_fun.R:57:3'): .pcr_plot_analyze returns a faceted plot ──
  class(gg) not identical to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  ── Failure ('test_plotting_fun.R:68:3'): .pcr_plot_assess returns an efficiency plot ──
  class(gg) not identical to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  ── Failure ('test_plotting_fun.R:79:3'): .pcr_plot_assess returns standard_curve plots ──
  class(gg) not identical to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  
  [ FAIL 12 | WARN 1 | SKIP 0 | PASS 74 ]
  Error: Test failures
  Execution halted