Running ‘testthat.R’ [25s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(faux)
  
  ************
  Welcome to faux. For support and examples visit:
  https://debruine.github.io/faux/
  - Get and set global package options with: faux_options()
  ************
  > 
  > expect_equal <- function(...) {
  +   testthat::expect_equal(..., check.environment=FALSE)
  + }
  > 
  > test_check("faux")
  [ FAIL 19 | WARN 0 | SKIP 22 | PASS 1351 ]
  
  ══ Skipped tests (22) ══════════════════════════════════════════════════════════
  • On CRAN (12): 'test-distributions.R:61:3', 'test-distributions.R:92:3',
    'test-distributions.R:115:3', 'test-distributions.R:138:3',
    'test-distributions.R:162:3', 'test-distributions.R:236:3',
    'test-distributions.R:294:3', 'test-distributions.R:318:3',
    'test-distributions.R:386:3', 'test-distributions.R:415:3',
    'test-plot_design.R:51:3', 'test-plot_design.R:341:3'
  • Too variable (1): 'test-distributions.R:520:3'
  • long checking function (1): 'test-norta.R:55:3'
  • long simulation (8): 'test-norta.R:92:3', 'test-norta.R:112:3',
    'test-norta.R:140:3', 'test-norta.R:160:3', 'test-norta.R:186:3',
    'test-norta.R:209:3', 'test-norta.R:233:3', 'test-norta.R:295:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-plot_design.R:44:3'): wide2long ──────────────────────────────
  class(p1) not equal to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  Backtrace:
      ▆
   1. └─global expect_equal(class(p1), c("gg", "ggplot")) at test-plot_design.R:44:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  ── Failure ('test-plot_design.R:49:3'): wide2long ──────────────────────────────
  class(p2) not equal to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  Backtrace:
      ▆
   1. └─global expect_equal(class(p2), c("gg", "ggplot")) at test-plot_design.R:49:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  ── Failure ('test-plot_design.R:73:3'): subset ─────────────────────────────────
  p1$labels$fill not equal to "W1".
  target is NULL, current is character
  Backtrace:
      ▆
   1. └─global expect_equal(p1$labels$fill, "W1") at test-plot_design.R:73:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  ── Failure ('test-plot_design.R:74:3'): subset ─────────────────────────────────
  p1$labels$colour not equal to "W1".
  target is NULL, current is character
  Backtrace:
      ▆
   1. └─global expect_equal(p1$labels$colour, "W1") at test-plot_design.R:74:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  ── Failure ('test-plot_design.R:119:3'): from design ───────────────────────────
  s0$labels$fill not equal to "fill".
  target is NULL, current is character
  Backtrace:
      ▆
   1. └─global expect_equal(s0$labels$fill, "fill") at test-plot_design.R:119:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  ── Failure ('test-plot_design.R:120:3'): from design ───────────────────────────
  s0$labels$colour not equal to "colour".
  target is NULL, current is character
  Backtrace:
      ▆
   1. └─global expect_equal(s0$labels$colour, "colour") at test-plot_design.R:120:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  ── Failure ('test-plot_design.R:125:3'): from design ───────────────────────────
  s1$labels$fill not equal to "W1".
  target is NULL, current is character
  Backtrace:
      ▆
   1. └─global expect_equal(s1$labels$fill, "W1") at test-plot_design.R:125:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  ── Failure ('test-plot_design.R:126:3'): from design ───────────────────────────
  s1$labels$colour not equal to "W1".
  target is NULL, current is character
  Backtrace:
      ▆
   1. └─global expect_equal(s1$labels$colour, "W1") at test-plot_design.R:126:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  ── Failure ('test-plot_design.R:176:3'): from data ─────────────────────────────
  s0$labels$fill not equal to "fill".
  target is NULL, current is character
  Backtrace:
      ▆
   1. └─global expect_equal(s0$labels$fill, "fill") at test-plot_design.R:176:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  ── Failure ('test-plot_design.R:177:3'): from data ─────────────────────────────
  s0$labels$colour not equal to "colour".
  target is NULL, current is character
  Backtrace:
      ▆
   1. └─global expect_equal(s0$labels$colour, "colour") at test-plot_design.R:177:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  ── Failure ('test-plot_design.R:182:3'): from data ─────────────────────────────
  s1$labels$fill not equal to "W1".
  target is NULL, current is character
  Backtrace:
      ▆
   1. └─global expect_equal(s1$labels$fill, "W1") at test-plot_design.R:182:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  ── Failure ('test-plot_design.R:183:3'): from data ─────────────────────────────
  s1$labels$colour not equal to "W1".
  target is NULL, current is character
  Backtrace:
      ▆
   1. └─global expect_equal(s1$labels$colour, "W1") at test-plot_design.R:183:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  ── Failure ('test-plot_design.R:231:3'): 2w ────────────────────────────────────
  class(p) not equal to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  Backtrace:
      ▆
   1. └─global expect_equal(class(p), c("gg", "ggplot")) at test-plot_design.R:231:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  ── Failure ('test-plot_design.R:234:3'): 2w ────────────────────────────────────
  p$labels$fill not equal to "time".
  target is NULL, current is character
  Backtrace:
      ▆
   1. └─global expect_equal(p$labels$fill, "time") at test-plot_design.R:234:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  ── Failure ('test-plot_design.R:235:3'): 2w ────────────────────────────────────
  p$labels$colour not equal to "time".
  target is NULL, current is character
  Backtrace:
      ▆
   1. └─global expect_equal(p$labels$colour, "time") at test-plot_design.R:235:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  ── Failure ('test-plot_design.R:245:3'): 2w*2b ─────────────────────────────────
  class(p) not equal to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  Backtrace:
      ▆
   1. └─global expect_equal(class(p), c("gg", "ggplot")) at test-plot_design.R:245:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  ── Failure ('test-plot_design.R:257:3'): 2w*2b ─────────────────────────────────
  class(p) not equal to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  Backtrace:
      ▆
   1. └─global expect_equal(class(p), c("gg", "ggplot")) at test-plot_design.R:257:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  ── Failure ('test-plot_design.R:271:3'): 2w*2w*2b ──────────────────────────────
  class(p) not equal to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  Backtrace:
      ▆
   1. └─global expect_equal(class(p), c("gg", "ggplot")) at test-plot_design.R:271:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  ── Failure ('test-plot_design.R:288:3'): 2w*2w*2b*2b ───────────────────────────
  class(p) not equal to c("gg", "ggplot").
  Lengths differ: 5 is not 2
  Backtrace:
      ▆
   1. └─global expect_equal(class(p), c("gg", "ggplot")) at test-plot_design.R:288:3
   2.   └─testthat::expect_equal(..., check.environment = FALSE)
  
  [ FAIL 19 | WARN 0 | SKIP 22 | PASS 1351 ]
  Error: Test failures
  Execution halted