Running ‘spelling.R’
  Running ‘testthat.R’ [28s/37s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(brolgar)
  > 
  > test_check("brolgar")
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  
  Attaching package: 'tsibble'
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, union
  
  [ FAIL 5 | WARN 3 | SKIP 5 | PASS 269 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (5)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-b-funs.R:21:3'): b functions return non NA value ───────────────
  Error in `b_range(x, na.rm = TRUE, ...)`: formal argument "na.rm" matched by multiple actual arguments
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(b_range_diff(vec), 4) at test-b-funs.R:21:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─brolgar::b_range_diff(vec)
   5.   ├─base::diff(b_range(x, na.rm = TRUE, ...))
   6.   └─brolgar::b_range(x, na.rm = TRUE, ...)
  ── Failure ('test-features-brolgar.R:5:3'): feat_brolgar returns the right names ──
  names(wages_brolgar) (`actual`) not equal to c(...) (`expected`).
  
      actual | expected                    
  [1] "id"   | "id"         [1]            
             - "min"        [2]            
             - "max"        [3]            
             - "median"     [4]            
             - "mean"       [5]            
             - "q25"        [6]            
             - "q75"        [7]            
             - "range1"     [8]            
             - "range2"     [9]            
             - "range_diff" [10]           
  ... ...      ...          and 16 more ...
  ── Failure ('test-features-brolgar.R:37:3'): feat_brolgar returns the right dimensions ──
  dim(wages_brolgar) (`actual`) not equal to c(888, 26) (`expected`).
  
    `actual`: 888  1
  `expected`: 888 26
  ── Failure ('test-features-ranges.R:5:3'): feat_ranges returns the right names ──
  names(wages_ranges) (`actual`) not equal to c("id", "min", "max", "range_diff", "iqr") (`expected`).
  
  `actual`:   "id"                               
  `expected`: "id" "min" "max" "range_diff" "iqr"
  ── Failure ('test-features-ranges.R:10:3'): feat_ranges returns the right dimensions ──
  dim(wages_ranges) (`actual`) not equal to c(888, 5) (`expected`).
  
    `actual`: 888 1
  `expected`: 888 5
  
  [ FAIL 5 | WARN 3 | SKIP 5 | PASS 269 ]
  Deleting unused snapshots:
  • facet-sample/gg-facet-sample-alt.svg
  • facet-sample/gg-facet-sample.svg
  • facet-strata/gg-facet-strata-along.svg
  • facet-strata/gg-facet-strata.svg
  Error: Test failures
  Execution halted