CRAN Package Check Results for Package faux

Last updated on 2025-09-13 01:49:47 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.2 13.57 175.22 188.79 ERROR
r-devel-linux-x86_64-debian-gcc 1.2.2 8.20 112.86 121.06 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.2 282.62 ERROR
r-devel-linux-x86_64-fedora-gcc 1.2.2 280.65 ERROR
r-devel-windows-x86_64 1.2.2 21.00 185.00 206.00 OK
r-patched-linux-x86_64 1.2.2 12.76 156.10 168.86 OK
r-release-linux-x86_64 1.2.2 10.63 157.69 168.32 OK
r-release-macos-arm64 1.2.2 99.00 OK
r-release-macos-x86_64 1.2.2 203.00 OK
r-release-windows-x86_64 1.2.2 21.00 188.00 209.00 OK
r-oldrel-macos-arm64 1.2.2 85.00 OK
r-oldrel-macos-x86_64 1.2.2 191.00 OK
r-oldrel-windows-x86_64 1.2.2 29.00 252.00 281.00 OK

Check Details

Version: 1.2.2
Check: examples
Result: ERROR Running examples in ‘faux-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: norm2likert > ### Title: Convert normal to likert > ### Aliases: norm2likert > > ### ** Examples > > > x <- rnorm(10000) > y <- norm2likert(x, c(.1, .2, .35, .2, .1, .05)) > g <- ggplot2::ggplot() + ggplot2::geom_point(ggplot2::aes(x, y)) > ggExtra::ggMarginal(g, type = "histogram") > > y <- norm2likert(x, c(40, 30, 20, 10)) > g <- ggplot2::ggplot() + ggplot2::geom_point(ggplot2::aes(x, y)) > ggExtra::ggMarginal(g, type = "histogram") > > y <- norm2likert(x, c(lower = .5, upper = .5)) > g <- ggplot2::ggplot() + ggplot2::geom_point(ggplot2::aes(x, y)) > ggExtra::ggMarginal(g, type = "histogram") Error in `ggplot2::scale_x_continuous()`: ! `limits` must be a <numeric> vector, not a character vector. Backtrace: ▆ 1. └─ggExtra::ggMarginal(g, type = "histogram") 2. └─plt$build() 3. └─private$addLimits(margThemed) 4. └─ggplot2::scale_x_continuous(limits = limits, oob = scales::squish) 5. └─ggplot2::continuous_scale(...) 6. └─ggplot2:::check_continuous_limits(limits, call = call) 7. └─ggplot2:::check_numeric(limits, arg = arg, call = call, allow_na = TRUE) 8. └─ggplot2:::check_object(x, is.numeric, what, ..., arg = arg, call = call) 9. └─ggplot2:::stop_input_type(...) 10. └─rlang::abort(message, ..., call = call, arg = arg) Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.2.2
Check: tests
Result: ERROR Running ‘testthat.R’ [39s/52s] 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 Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.2.2
Check: tests
Result: ERROR Running ‘testthat.R’ [24s/31s] 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 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.2.2
Check: examples
Result: ERROR Running examples in ‘faux-Ex.R’ failed The error most likely occurred in: > ### Name: norm2likert > ### Title: Convert normal to likert > ### Aliases: norm2likert > > ### ** Examples > > > x <- rnorm(10000) > y <- norm2likert(x, c(.1, .2, .35, .2, .1, .05)) > g <- ggplot2::ggplot() + ggplot2::geom_point(ggplot2::aes(x, y)) > ggExtra::ggMarginal(g, type = "histogram") > > y <- norm2likert(x, c(40, 30, 20, 10)) > g <- ggplot2::ggplot() + ggplot2::geom_point(ggplot2::aes(x, y)) > ggExtra::ggMarginal(g, type = "histogram") > > y <- norm2likert(x, c(lower = .5, upper = .5)) > g <- ggplot2::ggplot() + ggplot2::geom_point(ggplot2::aes(x, y)) > ggExtra::ggMarginal(g, type = "histogram") Error in `ggplot2::scale_x_continuous()`: ! `limits` must be a <numeric> vector, not a character vector. Backtrace: ▆ 1. └─ggExtra::ggMarginal(g, type = "histogram") 2. └─plt$build() 3. └─private$addLimits(margThemed) 4. └─ggplot2::scale_x_continuous(limits = limits, oob = scales::squish) 5. └─ggplot2::continuous_scale(...) 6. └─ggplot2:::check_continuous_limits(limits, call = call) 7. └─ggplot2:::check_numeric(limits, arg = arg, call = call, allow_na = TRUE) 8. └─ggplot2:::check_object(x, is.numeric, what, ..., arg = arg, call = call) 9. └─ggplot2:::stop_input_type(...) 10. └─rlang::abort(message, ..., call = call, arg = arg) Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.2.2
Check: tests
Result: ERROR Running ‘testthat.R’ [62s/74s] 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 Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.2.2
Check: tests
Result: ERROR Running ‘testthat.R’ [58s/73s] 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 Flavor: r-devel-linux-x86_64-fedora-gcc