Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [14s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(naniar)
  > 
  > test_check("naniar")
  ── 1. Error: impute_median_all retains proper shadow values (@test-impute-median
  Input must contain shade column. See ?shade, ?shade and ?bind_shadow
  Backtrace:
   1. testthat::expect_equal(...)
   4. naniar::unbind_data(impute_median_all(aq_shadow))
   5. naniar:::test_if_any_shade(data)
  
  ── 2. Error: impute_median_all retains proper shadow values (@test-impute-median
  Input must contain shade column. See ?shade, ?shade and ?bind_shadow
  Backtrace:
   1. testthat::expect_equal(...)
   4. naniar::unbind_data(impute_median_all(aq_shadow))
   5. naniar:::test_if_any_shade(data)
  
  ── 3. Error: impute_median_all retains proper shadow values (@test-impute-median
  Input must contain shade column. See ?shade, ?shade and ?bind_shadow
  Backtrace:
   1. testthat::expect_equal(...)
   4. naniar::unbind_data(impute_median_all(aq_shadow))
   5. naniar:::test_if_any_shade(data)
  
  ── 4. Error: impute_median_all retains proper shadow values (@test-impute-median
  Input must contain shade column. See ?shade, ?shade and ?bind_shadow
  Backtrace:
   1. testthat::expect_equal(...)
   4. naniar::unbind_data(impute_median_all(aq_shadow))
   5. naniar:::test_if_any_shade(data)
  
  ── 5. Error: impute_mean_all retains proper shadow values (@test-impute_mean.R#9
  Input must contain shade column. See ?shade, ?shade and ?bind_shadow
  Backtrace:
   1. testthat::expect_equal(...)
   4. naniar::unbind_data(impute_mean_all(aq_shadow))
   5. naniar:::test_if_any_shade(data)
  
  ── 6. Error: impute_mean_all retains proper shadow values (@test-impute_mean.R#1
  Input must contain shade column. See ?shade, ?shade and ?bind_shadow
  Backtrace:
   1. testthat::expect_equal(...)
   4. naniar::unbind_data(impute_mean_all(aq_shadow))
   5. naniar:::test_if_any_shade(data)
  
  ── 7. Failure: special missings levels are updated for many recodes (@test-speci
  levels(df_many_recode$temp_NA) not equal to `new_shade_levels`.
  Lengths differ: 3 is not 4
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 562 | SKIPPED: 22 | WARNINGS: 0 | FAILED: 7 ]
  1. Error: impute_median_all retains proper shadow values (@test-impute-median.R#87) 
  2. Error: impute_median_all retains proper shadow values (@test-impute-median.R#92) 
  3. Error: impute_median_all retains proper shadow values (@test-impute-median.R#102) 
  4. Error: impute_median_all retains proper shadow values (@test-impute-median.R#107) 
  5. Error: impute_mean_all retains proper shadow values (@test-impute_mean.R#98) 
  6. Error: impute_mean_all retains proper shadow values (@test-impute_mean.R#103) 
  7. Failure: special missings levels are updated for many recodes (@test-special-missing-values.R#45) 
  
  Error: testthat unit tests failed
  Execution halted