Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [12s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(parcats)
  > library(easyalluvial)
  > 
  > test_check("parcats")
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_parcats.R:10:5'): parcats_alluvial_wide ────────────────────────
  Error in `if (imp == TRUE & is.null(data_input) & p$alluvial_type == "model_response") {
      stop("data_input required if imp == TRUE")
  } else if (p$alluvial_type != "model_response" | !imp) {
      imp = FALSE
      offset_imp = 1
  }`: argument is of length zero
  Backtrace:
      ▆
   1. └─parcats::parcats(p, marginal_histograms = FALSE) at test_parcats.R:10:5
  ── Error ('test_parcats.R:33:5'): parcats_alluvial_wide_num_only ───────────────
  Error in `if (imp == TRUE & is.null(data_input) & p$alluvial_type == "model_response") {
      stop("data_input required if imp == TRUE")
  } else if (p$alluvial_type != "model_response" | !imp) {
      imp = FALSE
      offset_imp = 1
  }`: argument is of length zero
  Backtrace:
      ▆
   1. └─parcats::parcats(p, data_input = df) at test_parcats.R:33:5
  ── Error ('test_parcats.R:42:3'): parcats_params ───────────────────────────────
  Error in `if (imp == TRUE & is.null(data_input) & p$alluvial_type == "model_response") {
      stop("data_input required if imp == TRUE")
  } else if (p$alluvial_type != "model_response" | !imp) {
      imp = FALSE
      offset_imp = 1
  }`: argument is of length zero
  Backtrace:
      ▆
   1. └─parcats::parcats(...) at test_parcats.R:42:3
  ── Error ('test_parcats.R:85:5'): parcats_alluvial_long ────────────────────────
  Error in `if (imp == TRUE & is.null(data_input) & p$alluvial_type == "model_response") {
      stop("data_input required if imp == TRUE")
  } else if (p$alluvial_type != "model_response" | !imp) {
      imp = FALSE
      offset_imp = 1
  }`: argument is of length zero
  Backtrace:
      ▆
   1. └─parcats::parcats(p, marginal_histograms = FALSE) at test_parcats.R:85:5
  ── Error ('test_parcats.R:107:5'): parcats_alluvial_model_response ─────────────
  Error in `if (imp == TRUE & is.null(data_input) & p$alluvial_type == "model_response") {
      stop("data_input required if imp == TRUE")
  } else if (p$alluvial_type != "model_response" | !imp) {
      imp = FALSE
      offset_imp = 1
  }`: argument is of length zero
  Backtrace:
      ▆
   1. └─parcats::parcats(p, marginal_histograms = FALSE, imp = FALSE) at test_parcats.R:107:5
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted