Running ‘testthat.R’ [22s/31s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(panelr)
  Loading required package: lme4
  Loading required package: Matrix
  
  Attaching package: 'panelr'
  
  The following object is masked from 'package:stats':
  
      filter
  
  > 
  > test_check("panelr")
  Failed with error:  'there is no package called 'skimr''
  ── 1. Error: summary.panel_data works (@test-utils.R#317)  ─────────────────────
  no applicable method for 'select_' applied to an object of class "function"
  Backtrace:
    1. testthat::expect_output(print(summary(w, lwage, blk)))
   12. panelr:::summary.panel_data(w, lwage, blk)
   11. dplyr::select(., !!!vars)
   28. dplyr::select_(.data, .dots = compat_as_lazy_dots(...))
  
  Failed with error:  'there is no package called 'broom.mixed''
  Failed with error:  'there is no package called 'clubSandwich''
  ── 2. Error: (unknown) (@test_asym.R#12)  ──────────────────────────────────────
  You must have 'clubSandwich' installed to use this function.
  Backtrace:
   1. panelr::asym(wks ~ union + lwage, data = wages)
   2. panelr:::need_package("clubSandwich")
  
  Failed with error:  'there is no package called 'geepack''
  ── 3. Error: (unknown) (@test_asym_gee.R#12)  ──────────────────────────────────
  You must have 'geepack' installed to use this function.
  Backtrace:
   1. panelr::asym_gee(wks ~ union + lwage, data = wages)
   2. panelr:::need_package("geepack")
  
  Failed with error:  'there is no package called 'clubSandwich''
  ── 4. Error: (unknown) (@test_fdm.R#12)  ───────────────────────────────────────
  You must have 'clubSandwich' installed to use this function.
  Backtrace:
   1. panelr::fdm(wks ~ union + lwage, data = wages)
   2. panelr:::need_package("clubSandwich")
  
  Failed with error:  'there is no package called 'geepack''
  ── 5. Error: (unknown) (@test_wbgee.R#11)  ─────────────────────────────────────
  You must have 'geepack' installed to use this function.
  Backtrace:
   1. panelr::wbgee(wks ~ union + lwage | blk, data = wages)
   2. panelr:::need_package("geepack")
  
  Failed with error:  'there is no package called 'tidyr''
  ── 6. Error: (unknown) (@test_wbm.R#236)  ──────────────────────────────────────
  To use the 'detrend' or 'balance_correction' arguments, you must have the
  'tidyr' and 'purrr' packages installed.
  Backtrace:
   1. base::suppressWarnings(...)
   3. panelr::wbm(...)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 108 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 6 ]
  1. Error: summary.panel_data works (@test-utils.R#317) 
  2. Error: (unknown) (@test_asym.R#12) 
  3. Error: (unknown) (@test_asym_gee.R#12) 
  4. Error: (unknown) (@test_fdm.R#12) 
  5. Error: (unknown) (@test_wbgee.R#11) 
  6. Error: (unknown) (@test_wbm.R#236) 
  
  Error: testthat unit tests failed
  Execution halted