Running ‘testthat.R’ [26s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(feasts)
  Loading required package: fabletools
  > 
  > test_check("feasts")
  ── ERROR (test-graphics.R:9:3): gg_season() plots ──────────────────────────────
  Error: first argument has length > 1
  Backtrace:
      █
   1. └─feasts::gg_season(tsbl_co2, value) test-graphics.R:9:2
   2.   └─base::exists(scale_fn, parent.frame(), mode = "function")
  
  ── ERROR (test-graphics.R:48:3): gg_season() plot labels ───────────────────────
  Error: first argument has length > 1
  Backtrace:
      █
   1. └─feasts::gg_season(tsbl_co2, value, labels = "both") test-graphics.R:48:2
   2.   └─base::exists(scale_fn, parent.frame(), mode = "function")
  
  ── Warning (test-graphics.R:72:3): gg_season() facets ──────────────────────────
  number of items to replace is not a multiple of replacement length
  
  ── ERROR (test-graphics.R:72:3): gg_season() facets ────────────────────────────
  Error: first argument has length > 1
  Backtrace:
      █
   1. └─feasts::gg_season(...) test-graphics.R:72:2
   2.   └─base::exists(scale_fn, parent.frame(), mode = "function")
  
  ── ERROR (test-graphics.R:96:3): gg_subseries() plots ──────────────────────────
  Error: first argument has length > 1
  Backtrace:
      █
   1. └─feasts::gg_subseries(tsbl_co2, value) test-graphics.R:96:2
   2.   └─base::exists(scale_fn, parent.frame(), mode = "function")
  
  ── ERROR (test-graphics.R:174:3): gg_tsdisplay() plots ─────────────────────────
  Error: first argument has length > 1
  Backtrace:
      █
   1. └─feasts::gg_tsdisplay(tsbl_co2, value) test-graphics.R:174:2
   2.   └─feasts::gg_season(data, !!y)
   3.     └─base::exists(scale_fn, parent.frame(), mode = "function")
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  ERROR (test-graphics.R:9:3): gg_season() plots
  ERROR (test-graphics.R:48:3): gg_season() plot labels
  Warning (test-graphics.R:72:3): gg_season() facets
  ERROR (test-graphics.R:72:3): gg_season() facets
  ERROR (test-graphics.R:96:3): gg_subseries() plots
  ERROR (test-graphics.R:174:3): gg_tsdisplay() plots
  
  [ FAIL 5 | WARN 1 | SKIP 0 | PASS 79 ]
  Error: Test failures
  Execution halted