Running 'spelling.R' [0s]
  Running 'testthat.R' [13s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(naniar)
  > 
  > test_check("naniar")
  -- 1. Error: add_any_miss returns a tibble (@test-add-any-miss.R#4)  -----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(add_any_miss(airquality, Ozone), "tbl_df")
    4. naniar::add_any_miss(airquality, Ozone)
    5. dplyr::select
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 2. Error: add_any_miss adds the right number of columns (@test-add-any-miss.R
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(...)
    5. naniar::add_any_miss(airquality, Ozone)
    6. dplyr::select
    7. base::getExportedValue(pkg, name)
    8. base::asNamespace(ns)
    9. base::getNamespace(ns)
   10. base::loadNamespace(name)
   11. base::library.dynam(lib, package, package.lib)
  
  -- 3. Error: add_any_miss adds a column with suffix 'any_miss_vars' or 'any_miss
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(...)
    4. naniar::add_any_miss(airquality, Ozone)
    5. dplyr::select
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 4. Error: add_label_missings returns a tibble (@test-add-label-missings.R#4) 
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(add_label_missings(airquality), "tbl_df")
    4. naniar::add_label_missings(airquality)
   11. dplyr::mutate(...)
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::library.dynam(lib, package, package.lib)
  
  -- 5. Error: add_label_missings adds the right number of columns (@test-add-labe
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(ncol(airquality) + 1, ncol(add_label_missings(airquality)))
    5. naniar::add_label_missings(airquality)
   11. dplyr::mutate(...)
   15. base::getExportedValue(pkg, name)
   16. base::asNamespace(ns)
   17. base::getNamespace(ns)
   18. base::loadNamespace(name)
   19. base::library.dynam(lib, package, package.lib)
  
  -- 6. Error: add_label_missings adds a column with suffix 'any_missing' (@test-a
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(...)
    4. naniar::add_label_missings(airquality)
   11. dplyr::mutate(...)
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::library.dynam(lib, package, package.lib)
  
  -- 7. Error: (unknown) (@test-add-label-missings.R#27)  ------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. naniar::add_label_missings(dat)
   10. dplyr::mutate(...)
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   15. base::library.dynam(lib, package, package.lib)
  
  -- 8. Error: (unknown) (@test-add-label-shadow.R#3)  ---------------------------
  `map_dfc()` requires dplyr
  Backtrace:
   1. naniar::bind_shadow(airquality)
   4. naniar:::as_shadow.data.frame(data)
   5. purrr::map_dfc(data, shade)
  
  -- 9. Error: (unknown) (@test-add-n-miss.R#11)  --------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. dplyr::bind_cols
   2. base::getExportedValue(pkg, name)
   3. base::asNamespace(ns)
   4. base::getNamespace(ns)
   5. base::loadNamespace(name)
   6. base::library.dynam(lib, package, package.lib)
  
  -- 10. Error: (unknown) (@test-add-prop-miss.R#11)  ----------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. dplyr::bind_cols
   2. base::getExportedValue(pkg, name)
   3. base::asNamespace(ns)
   4. base::getNamespace(ns)
   5. base::loadNamespace(name)
   6. base::library.dynam(lib, package, package.lib)
  
  -- 11. Error: (unknown) (@test-add-shadow-shift.R#12)  -------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. dplyr::bind_cols
   2. base::getExportedValue(pkg, name)
   3. base::asNamespace(ns)
   4. base::getNamespace(ns)
   5. base::loadNamespace(name)
   6. base::library.dynam(lib, package, package.lib)
  
  -- 12. Error: (unknown) (@test-add-shadow.R#3)  --------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    9. naniar::add_shadow(., Ozone)
   13. dplyr::select
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::library.dynam(lib, package, package.lib)
  
  -- 13. Error: as_shadow returns shadow (@test-as-shadow.R#4)  ------------------
  `map_dfc()` requires dplyr
  Backtrace:
   1. testthat::expect_is(as_shadow(airquality), "shadow")
   5. naniar:::as_shadow.data.frame(airquality)
   6. purrr::map_dfc(data, shade)
  
  -- 14. Error: as_shadow returns a data.frame (@test-as-shadow.R#8)  ------------
  `map_dfc()` requires dplyr
  Backtrace:
   1. testthat::expect_is(as_shadow(airquality), "data.frame")
   5. naniar:::as_shadow.data.frame(airquality)
   6. purrr::map_dfc(data, shade)
  
  -- 15. Error: as_shadow returns a tibble (@test-as-shadow.R#12)  ---------------
  `map_dfc()` requires dplyr
  Backtrace:
   1. testthat::expect_is(as_shadow(airquality), "tbl")
   5. naniar:::as_shadow.data.frame(airquality)
   6. purrr::map_dfc(data, shade)
  
  -- 16. Error: as_shadow returns correct ordering of classes (@test-as-shadow.R#1
  `map_dfc()` requires dplyr
  Backtrace:
   1. testthat::expect_equal(...)
   5. naniar:::as_shadow.data.frame(airquality)
   6. purrr::map_dfc(data, shade)
  
  -- 17. Error: (unknown) (@test-as-shadow.R#20)  --------------------------------
  `map_dfc()` requires dplyr
  Backtrace:
    1. base::data.frame(x = c(1, 2), y = c(NA, NA), z = c(1, NA))
    9. naniar::as_shadow(.)
   11. purrr::map_dfc(data, shade)
  
  -- 18. Error: as_shadow_upset returns a data.frame (@test-as_shadow_upset.R#10) 
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_s3_class(as_shadow_upset(airquality), "data.frame")
    4. naniar::as_shadow_upset(airquality)
    5. dplyr::mutate_if
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 19. Error: The number of rows are the same after using as_shadow_upset (@test
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(nrow(as_shadow_upset(airquality)), nrow(airquality))
    5. naniar::as_shadow_upset(airquality)
    6. dplyr::mutate_if
    7. base::getExportedValue(pkg, name)
    8. base::asNamespace(ns)
    9. base::getNamespace(ns)
   10. base::loadNamespace(name)
   11. base::library.dynam(lib, package, package.lib)
  
  -- 20. Error: The number of columns are the same after using bind_shadow (@test-
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(ncol(as_shadow_upset(airquality)), ncol(airquality))
    5. naniar::as_shadow_upset(airquality)
    6. dplyr::mutate_if
    7. base::getExportedValue(pkg, name)
    8. base::asNamespace(ns)
    9. base::getNamespace(ns)
   10. base::loadNamespace(name)
   11. base::library.dynam(lib, package, package.lib)
  
  -- 21. Error: (unknown) (@test-as_shadow_upset.R#28)  --------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. naniar::as_shadow_upset(airquality)
   2. dplyr::mutate_if
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::library.dynam(lib, package, package.lib)
  
  -- 22. Error: bind_shadow returns a data.frame (@test-bind-shadow.R#4)  --------
  `map_dfc()` requires dplyr
  Backtrace:
   1. testthat::expect_s3_class(bind_shadow(airquality), "data.frame")
   4. naniar::bind_shadow(airquality)
   7. naniar:::as_shadow.data.frame(data)
   8. purrr::map_dfc(data, shade)
  
  -- 23. Error: bind_shadow returns a tibble (@test-bind-shadow.R#9)  ------------
  `map_dfc()` requires dplyr
  Backtrace:
   1. testthat::expect_equal(...)
   4. naniar::bind_shadow(airquality)
   7. naniar:::as_shadow.data.frame(data)
   8. purrr::map_dfc(data, shade)
  
  -- 24. Error: The number of rows are the same after using bind_shadow (@test-bin
  `map_dfc()` requires dplyr
  Backtrace:
   1. testthat::expect_equal(nrow(bind_shadow(airquality)), nrow(airquality))
   5. naniar::bind_shadow(airquality)
   8. naniar:::as_shadow.data.frame(data)
   9. purrr::map_dfc(data, shade)
  
  -- 25. Error: The number of columns are twice the number of bind_shadow (@test-b
  `map_dfc()` requires dplyr
  Backtrace:
   1. testthat::expect_equal(...)
   5. naniar::bind_shadow(airquality)
   8. naniar:::as_shadow.data.frame(data)
   9. purrr::map_dfc(data, shade)
  
  -- 26. Error: bind_shadow returns columns with additional suffix _NA (@test-bind
  `map_dfc()` requires dplyr
  Backtrace:
   1. testthat::expect_equal(...)
   4. naniar::bind_shadow(airquality)
   7. naniar:::as_shadow.data.frame(data)
   8. purrr::map_dfc(data, shade)
  
  -- 27. Error: bind_shadow with only_miss = TRUE returns smaller dataframe (@test
  `map_dfc()` requires dplyr
  Backtrace:
   1. testthat::expect_gt(...)
   5. naniar::bind_shadow(airquality)
   8. naniar:::as_shadow.data.frame(data)
   9. purrr::map_dfc(data, shade)
  
  -- 28. Error: bind_shadow with only_miss = TRUE returns the right number of cols
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(...)
    5. naniar::bind_shadow(airquality, only_miss = TRUE)
    6. dplyr::as_tibble
    7. base::getExportedValue(pkg, name)
    8. base::asNamespace(ns)
    9. base::getNamespace(ns)
   10. base::loadNamespace(name)
   11. base::library.dynam(lib, package, package.lib)
  
  -- 29. Error: bind_shadow with only_miss = TRUE returns columns with extra suffi
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(...)
    4. naniar::bind_shadow(airquality, only_miss = TRUE)
    5. dplyr::as_tibble
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 30. Error: cast_shadow_shift_label returns a tibble (@test-cast-shadow-shift-
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(...)
    4. naniar::cast_shadow_shift_label(airquality, Ozone)
    8. dplyr::select
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::library.dynam(lib, package, package.lib)
  
  -- 31. Error: cast_shadow_shift_label adds the right number of columns (@test-ca
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(...)
    5. naniar::cast_shadow_shift_label(airquality, Ozone)
    9. dplyr::select
   10. base::getExportedValue(pkg, name)
   11. base::asNamespace(ns)
   12. base::getNamespace(ns)
   13. base::loadNamespace(name)
   14. base::library.dynam(lib, package, package.lib)
  
  -- 32. Error: cast_shadow_shift_label adds a column with suffix '_NA' AND '_shif
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(...)
    4. naniar::cast_shadow_shift_label(airquality, Ozone)
    8. dplyr::select
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::library.dynam(lib, package, package.lib)
  
  -- 33. Error: cast_shadow_shift returns a tibble (@test-cast-shadow-shift.R#4)  
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(cast_shadow_shift(airquality, Ozone), "tbl_df")
    4. naniar::cast_shadow_shift(airquality, Ozone)
    8. dplyr::select
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::library.dynam(lib, package, package.lib)
  
  -- 34. Error: cast_shadow_shift adds the right number of columns (@test-cast-sha
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(...)
    5. naniar::cast_shadow_shift(airquality, Ozone)
    9. dplyr::select
   10. base::getExportedValue(pkg, name)
   11. base::asNamespace(ns)
   12. base::getNamespace(ns)
   13. base::loadNamespace(name)
   14. base::library.dynam(lib, package, package.lib)
  
  -- 35. Error: cast_shadow_shift adds a column with suffix '_NA' AND '_shift' (@t
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(...)
    4. naniar::cast_shadow_shift(airquality, Ozone)
    8. dplyr::select
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::library.dynam(lib, package, package.lib)
  
  -- 36. Error: cast_shadow returns a tibble (@test-cast-shadow.R#4)  ------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(cast_shadow(airquality, Ozone), "tbl_df")
    4. naniar::cast_shadow(airquality, Ozone)
    8. dplyr::select
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::library.dynam(lib, package, package.lib)
  
  -- 37. Error: cast_shadow adds the right number of columns (@test-cast-shadow.R#
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(2, ncol(cast_shadow(airquality, Ozone)))
    5. naniar::cast_shadow(airquality, Ozone)
    9. dplyr::select
   10. base::getExportedValue(pkg, name)
   11. base::asNamespace(ns)
   12. base::getNamespace(ns)
   13. base::loadNamespace(name)
   14. base::library.dynam(lib, package, package.lib)
  
  -- 38. Error: cast_shadow adds a column with suffix '_NA' (@test-cast-shadow.R#1
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(...)
    4. naniar::cast_shadow(airquality, Ozone)
    8. dplyr::select
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::library.dynam(lib, package, package.lib)
  
  -- 39. Error: gather_shadow returns a data.frame (@test-gather-shadow.R#4)  ----
  `map_dfc()` requires dplyr
  Backtrace:
    1. testthat::expect_s3_class(gather_shadow(airquality), "data.frame")
    4. naniar::gather_shadow(airquality)
    9. naniar:::as_shadow.data.frame(data)
   10. purrr::map_dfc(data, shade)
  
  -- 40. Error: gather_shadow returns a tibble (@test-gather-shadow.R#9)  --------
  `map_dfc()` requires dplyr
  Backtrace:
    1. testthat::expect_equal(...)
    4. naniar::gather_shadow(airquality)
    9. naniar:::as_shadow.data.frame(data)
   10. purrr::map_dfc(data, shade)
  
  -- 41. Error: The number of rows are the same after using gather_shadow (@test-g
  `map_dfc()` requires dplyr
  Backtrace:
    1. testthat::expect_equal(...)
    5. naniar::gather_shadow(airquality)
   10. naniar:::as_shadow.data.frame(data)
   11. purrr::map_dfc(data, shade)
  
  -- 42. Error: There are three columns in gather_shadow (@test-gather-shadow.R#25
  `map_dfc()` requires dplyr
  Backtrace:
    1. testthat::expect_equal(ncol(gather_shadow(airquality)), 3)
    5. naniar::gather_shadow(airquality)
   10. naniar:::as_shadow.data.frame(data)
   11. purrr::map_dfc(data, shade)
  
  -- 43. Error: gather_shadow returns columns with right names (@test-gather-shado
  `map_dfc()` requires dplyr
  Backtrace:
    1. testthat::expect_equal(...)
    4. naniar::gather_shadow(airquality)
    9. naniar:::as_shadow.data.frame(data)
   10. purrr::map_dfc(data, shade)
  
  -- 44. Error: (unknown) (@test-gg-miss-case-cumsum.R#5)  -----------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. naniar::gg_miss_case_cumsum(riskfactors, breaks = 50)
    9. naniar::miss_case_cumsum(.)
   15. naniar:::miss_case_summary.default(data)
   16. dplyr::as_tibble
   17. base::getExportedValue(pkg, name)
   18. base::asNamespace(ns)
   19. base::getNamespace(ns)
   20. base::loadNamespace(name)
   21. base::library.dynam(lib, package, package.lib)
  
  -- 45. Error: (unknown) (@test-gg-miss-case.R#5)  ------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. naniar::gg_miss_case(airquality)
    9. naniar::miss_case_summary(., order = TRUE)
   11. dplyr::as_tibble
   12. base::getExportedValue(pkg, name)
   13. base::asNamespace(ns)
   14. base::getNamespace(ns)
   15. base::loadNamespace(name)
   16. base::library.dynam(lib, package, package.lib)
  
  -- 46. Error: (unknown) (@test-gg-miss-fct.R#3)  -------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. naniar::gg_miss_fct(riskfactors, marital)
    9. dplyr::mutate_at(., vars(!!fct), .funs = coerce_fct_na_explicit)
   10. base::getExportedValue(pkg, name)
   11. base::asNamespace(ns)
   12. base::getNamespace(ns)
   13. base::loadNamespace(name)
   14. base::library.dynam(lib, package, package.lib)
  
  -- 47. Error: (unknown) (@test-gg-miss-span.R#3)  ------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. naniar::gg_miss_span(pedestrian, hourly_counts, 4000)
    6. naniar:::miss_var_span.default(...)
    7. dplyr::select
    8. base::getExportedValue(pkg, name)
    9. base::asNamespace(ns)
   10. base::getNamespace(ns)
   11. base::loadNamespace(name)
   12. base::library.dynam(lib, package, package.lib)
  
  -- 48. Error: (unknown) (@test-gg-miss-var-cumsum.R#5)  ------------------------
  `map_dfc()` requires dplyr
  Backtrace:
    1. naniar::gg_miss_var_cumsum(airquality)
    9. naniar::miss_var_cumsum(.)
   14. purrr::map_dfc(data, function(x) n_miss(x))
  
  -- 49. Error: (unknown) (@test-gg-miss-var-plot.R#5)  --------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. naniar::gg_miss_var(airquality)
    9. naniar::miss_var_summary(.)
   11. dplyr::arrange
   12. base::getExportedValue(pkg, name)
   13. base::asNamespace(ns)
   14. base::getNamespace(ns)
   15. base::loadNamespace(name)
   16. base::library.dynam(lib, package, package.lib)
  
  -- 50. Error: (unknown) (@test-gg-miss-which.R#3)  -----------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. naniar::gg_miss_which(airquality)
   2. dplyr::if_else
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::library.dynam(lib, package, package.lib)
  
  -- 51. Error: impute_below_at leaves no NA values (@test-impute-below-at.R#11)  
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_false(...)
    4. naniar::impute_below_at(miss_df, "miss_vec")
    5. dplyr::mutate_at
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 52. Error: impute_below_at works with vars (@test-impute-below-at.R#18)  ----
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_false(...)
    4. naniar::impute_below_at(miss_df, dplyr::vars(miss_vec))
    5. dplyr::mutate_at
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 53. Error: impute_below_if leaves no NA values (@test-impute-below-at.R#34)  
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_false(anyNA(impute_below_if(airquality, .predicate = is.numeric)))
    4. naniar::impute_below_if(airquality, .predicate = is.numeric)
    5. dplyr::mutate_if
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 54. Error: impute_below_all returns NULL when given NULL (@test-impute-below.
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(impute_below_all(data.frame(NULL)), data.frame(NULL))
    4. naniar::impute_below_all(data.frame(NULL))
    5. dplyr::mutate_all
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 55. Error: impute_below_all returns NA values less than minimum for one locat
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_lt(...)
    4. naniar::impute_below_all(data.frame(miss_vec_5))
    5. dplyr::mutate_all
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 56. Error: impute_below_all returns NA values less than min when only one mis
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_lt(...)
    4. naniar::impute_below_all(miss_vec_2)
    5. dplyr::mutate_all
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 57. Error: impute_below_all returns NA values less than min for many location
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_lt(...)
    4. naniar::impute_below_all(miss_vec)
    5. dplyr::mutate_all
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 58. Error: impute_below_all returns the same input when length == 1 (@test-im
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(impute_below_all(data.frame(1)), data.frame(1))
    4. naniar::impute_below_all(data.frame(1))
    5. dplyr::mutate_all
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 59. Error: impute_below_all returns same input when there are no missing valu
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(impute_below_all(test_vec), test_vec)
    4. naniar::impute_below_all(test_vec)
    5. dplyr::mutate_all
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 60. Error: impute_below_all leaves no NA values (@test-impute-below.R#69)  --
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_false(...)
    4. naniar::impute_below_all(miss_df)
    5. dplyr::mutate_all
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 61. Error: impute_below_all prop_below makes shifts bigger (@test-impute-belo
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_gt(...)
    4. naniar::impute_below_all(miss_df)
    5. dplyr::mutate_all
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 62. Error: impute_below_all prop_below makes shifts bigger (@test-impute-belo
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_gt(...)
    4. naniar::impute_below_all(miss_df, prop_below = 0.2)
    5. dplyr::mutate_all
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 63. Error: impute_below_all jitter makes shifts bigger (@test-impute-below.R#
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_lt(...)
    6. naniar::impute_below_all(miss_df)
    7. dplyr::mutate_all
    8. base::getExportedValue(pkg, name)
    9. base::asNamespace(ns)
   10. base::getNamespace(ns)
   11. base::loadNamespace(name)
   12. base::library.dynam(lib, package, package.lib)
  
  -- 64. Error: impute_below_all jitter makes shifts bigger (@test-impute-below.R#
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_lt(...)
    6. naniar::impute_below_all(miss_df, jitter = 0.2)
    7. dplyr::mutate_all
    8. base::getExportedValue(pkg, name)
    9. base::asNamespace(ns)
   10. base::getNamespace(ns)
   11. base::loadNamespace(name)
   12. base::library.dynam(lib, package, package.lib)
  
  -- 65. Error: (unknown) (@test-impute-below.R#107)  ----------------------------
  `map_dfc()` requires dplyr
  Backtrace:
   1. naniar::bind_shadow(airquality)
   4. naniar:::as_shadow.data.frame(data)
   5. purrr::map_dfc(data, shade)
  
  -- 66. Error: (unknown) (@test-impute-median.R#13)  ----------------------------
  `map_dfc()` requires dplyr
  Backtrace:
   1. naniar::bind_shadow(airquality)
   4. naniar:::as_shadow.data.frame(data)
   5. purrr::map_dfc(data, shade)
  
  -- 67. Error: (unknown) (@test-impute_mean.R#13)  ------------------------------
  `map_dfc()` requires dplyr
  Backtrace:
   1. naniar::bind_shadow(airquality)
   4. naniar:::as_shadow.data.frame(data)
   5. purrr::map_dfc(data, shade)
  
  -- 68. Error: label_shadow returns character (@test-label-shadow.R#4)  ---------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(label_shadow(airquality), "character")
    4. naniar:::label_shadow(airquality)
    5. dplyr::if_else
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 69. Error: label_shadow adds the right number of elements (@test-label-shadow
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(nrow(airquality), length(label_shadow(airquality)))
    4. naniar:::label_shadow(airquality)
    5. dplyr::if_else
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 70. Error: (unknown) (@test-label-shadow.R#11)  -----------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    9. naniar::add_shadow(., Ozone)
   13. dplyr::select
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::library.dynam(lib, package, package.lib)
  
  -- 71. Error: miss_case_summary produces a tibble (@test-miss-case-summary.R#15)
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(miss_case_summary(airquality), "tbl_df")
    5. naniar:::miss_case_summary.default(airquality)
    6. dplyr::as_tibble
    7. base::getExportedValue(pkg, name)
    8. base::asNamespace(ns)
    9. base::getNamespace(ns)
   10. base::loadNamespace(name)
   11. base::library.dynam(lib, package, package.lib)
  
  -- 72. Error: (unknown) (@test-miss-case-summary.R#20)  ------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. dplyr::group_by
   2. base::getExportedValue(pkg, name)
   3. base::asNamespace(ns)
   4. base::getNamespace(ns)
   5. base::loadNamespace(name)
   6. base::library.dynam(lib, package, package.lib)
  
  -- 73. Error: miss_case_table produces a tibble (@test-miss-case-table.R#14)  --
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(miss_case_table(airquality), "tbl_df")
    5. naniar:::miss_case_table.default(airquality)
   10. dplyr::group_by(., n_miss_in_case)
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::library.dynam(lib, package, package.lib)
  
  -- 74. Error: (unknown) (@test-miss-case-table.R#17)  --------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. dplyr::group_by
   2. base::getExportedValue(pkg, name)
   3. base::asNamespace(ns)
   4. base::getNamespace(ns)
   5. base::loadNamespace(name)
   6. base::library.dynam(lib, package, package.lib)
  
  -- 75. Error: (unknown) (@test-miss-prop-summary.R#29)  ------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. dplyr::group_by
   2. base::getExportedValue(pkg, name)
   3. base::asNamespace(ns)
   4. base::getNamespace(ns)
   5. base::loadNamespace(name)
   6. base::library.dynam(lib, package, package.lib)
  
  -- 76. Error: miss_scan_count returns a data.frame (@test-miss-scan-count.R#11) 
  `map_dfc()` requires dplyr
  Backtrace:
   1. testthat::expect_is(miss_scan_count(dat_ms, -99), "data.frame")
   4. naniar::miss_scan_count(dat_ms, -99)
   8. purrr::map_dfc(data, ~length(grep(search, x = .)))
  
  -- 77. Error: miss_scan_count returns a data.frame of the right size (@test-miss
  `map_dfc()` requires dplyr
  Backtrace:
   1. testthat::expect_equal(...)
   4. naniar::miss_scan_count(dat_ms, -99)
   8. purrr::map_dfc(data, ~length(grep(search, x = .)))
  
  -- 78. Error: miss_scan_count returns the right answer (@test-miss-scan-count.R#
  `map_dfc()` requires dplyr
  Backtrace:
   1. testthat::expect_equal(miss_scan_count(dat_ms, -99), correct_answer_1)
   4. naniar::miss_scan_count(dat_ms, -99)
   8. purrr::map_dfc(data, ~length(grep(search, x = .)))
  
  -- 79. Error: miss_summary returns a data.frame (@test-miss-summary.R#4)  ------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_s3_class(miss_summary(airquality), "data.frame")
    9. naniar:::miss_case_table.default(data)
   10. dplyr::group_by(., n_miss_in_case)
   18. base::getExportedValue(pkg, name)
   19. base::asNamespace(ns)
   20. base::getNamespace(ns)
   21. base::loadNamespace(name)
   22. base::library.dynam(lib, package, package.lib)
  
  -- 80. Error: miss_summary returns a tibble (@test-miss-summary.R#9)  ----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(...)
    9. naniar:::miss_case_table.default(data)
   10. dplyr::group_by(., n_miss_in_case)
   18. base::getExportedValue(pkg, name)
   19. base::asNamespace(ns)
   20. base::getNamespace(ns)
   21. base::loadNamespace(name)
   22. base::library.dynam(lib, package, package.lib)
  
  -- 81. Error: There are 7 columns (@test-miss-summary.R#21)  -------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(ncol(miss_summary(airquality)), 7)
   10. naniar:::miss_case_table.default(data)
   10. dplyr::group_by(., n_miss_in_case)
   19. base::getExportedValue(pkg, name)
   20. base::asNamespace(ns)
   21. base::getNamespace(ns)
   22. base::loadNamespace(name)
   23. base::library.dynam(lib, package, package.lib)
  
  -- 82. Error: The columns are named correctly (@test-miss-summary.R#25)  -------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_named(...)
    9. naniar:::miss_case_table.default(data)
   10. dplyr::group_by(., n_miss_in_case)
   18. base::getExportedValue(pkg, name)
   19. base::asNamespace(ns)
   20. base::getNamespace(ns)
   21. base::loadNamespace(name)
   22. base::library.dynam(lib, package, package.lib)
  
  -- 83. Error: (unknown) (@test-miss-var-run.R#3)  ------------------------------
  package or namespace load failed for 'dplyr' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(dplyr)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  -- 84. Error: (unknown) (@test-miss-var-span.R#3)  -----------------------------
  package or namespace load failed for 'dplyr' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(dplyr)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  -- 85. Error: miss_var_summary produces a tibble (@test-miss-var-summary.R#14)  
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(miss_var_summary(airquality), "tbl_df")
    5. naniar:::miss_var_summary.default(airquality)
    6. dplyr::arrange
    7. base::getExportedValue(pkg, name)
    8. base::asNamespace(ns)
    9. base::getNamespace(ns)
   10. base::loadNamespace(name)
   11. base::library.dynam(lib, package, package.lib)
  
  -- 86. Error: (unknown) (@test-miss-var-summary.R#19)  -------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. dplyr::group_by
   2. base::getExportedValue(pkg, name)
   3. base::asNamespace(ns)
   4. base::getNamespace(ns)
   5. base::loadNamespace(name)
   6. base::library.dynam(lib, package, package.lib)
  
  -- 87. Error: miss_var_table produces a tibble (@test-miss-var-table.R#14)  ----
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_is(miss_var_table(airquality), "tbl_df")
    5. naniar:::miss_var_table.default(airquality)
   10. naniar:::miss_var_summary.default(data)
   11. dplyr::arrange
   12. base::getExportedValue(pkg, name)
   13. base::asNamespace(ns)
   14. base::getNamespace(ns)
   15. base::loadNamespace(name)
   16. base::library.dynam(lib, package, package.lib)
  
  -- 88. Error: (unknown) (@test-miss-var-table.R#17)  ---------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. dplyr::group_by
   2. base::getExportedValue(pkg, name)
   3. base::asNamespace(ns)
   4. base::getNamespace(ns)
   5. base::loadNamespace(name)
   6. base::library.dynam(lib, package, package.lib)
  
  -- 89. Error: nabular returns a data.frame (@test-nabular.R#5)  ----------------
  `map_dfc()` requires dplyr
  Backtrace:
   1. testthat::expect_s3_class(nabular(airquality), "data.frame")
   4. naniar::nabular(airquality)
   5. naniar::bind_shadow(data = data, only_miss = only_miss, ...)
   8. naniar:::as_shadow.data.frame(data)
   9. purrr::map_dfc(data, shade)
  
  -- 90. Error: nabular returns a tibble (@test-nabular.R#10)  -------------------
  `map_dfc()` requires dplyr
  Backtrace:
   1. testthat::expect_equal(...)
   4. naniar::nabular(airquality)
   5. naniar::bind_shadow(data = data, only_miss = only_miss, ...)
   8. naniar:::as_shadow.data.frame(data)
   9. purrr::map_dfc(data, shade)
  
  -- 91. Error: (unknown) (@test-prop-cases-not-zero.R#36)  ----------------------
  package or namespace load failed for 'dplyr' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(dplyr)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  -- 92. Error: prop_complete works for dataframes (@test-prop-complete.R#22)  ---
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. testthat::expect_true(...)
   4. dplyr::near
   5. base::getExportedValue(pkg, name)
   6. base::asNamespace(ns)
   7. base::getNamespace(ns)
   8. base::loadNamespace(name)
   9. base::library.dynam(lib, package, package.lib)
  
  -- 93. Error: prop_miss works for dataframes (@test-prop-miss.R#21)  -----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. testthat::expect_true(...)
   4. dplyr::near
   5. base::getExportedValue(pkg, name)
   6. base::asNamespace(ns)
   7. base::getNamespace(ns)
   8. base::loadNamespace(name)
   9. base::library.dynam(lib, package, package.lib)
  
  -- 94. Error: suggested single values are replaced with NAs (@test-replace-with-
  `map_dfc()` requires dplyr
  Backtrace:
   1. naniar::replace_with_na_all(df, ~.x == -99)
   2. purrr::map_dfc(data, ~na_set(.x, condition))
  
  -- 95. Error: suggested multiple values are replaced with NAs (@test-replace-wit
  `map_dfc()` requires dplyr
  Backtrace:
   1. naniar::replace_with_na_all(df, ~.x %in% c(-98, -99))
   2. purrr::map_dfc(data, ~na_set(.x, condition))
  
  -- 96. Error: all columns are affected by _all (@test-replace-with-na-scoped-var
  `map_dfc()` requires dplyr
  Backtrace:
   1. naniar::replace_with_na_all(df, ~.x == -99)
   2. purrr::map_dfc(data, ~na_set(.x, condition))
  
  -- 97. Error: (unknown) (@test-shade-verifiers.R#6)  ---------------------------
  `map_dfc()` requires dplyr
  Backtrace:
   1. naniar::as_shadow(airquality)
   2. naniar:::as_shadow.data.frame(airquality)
   3. purrr::map_dfc(data, shade)
  
  -- 98. Error: (unknown) (@test-shadow-identifiers.R#10)  -----------------------
  `map_dfc()` requires dplyr
  Backtrace:
   1. naniar::bind_shadow(df)
   4. naniar:::as_shadow.data.frame(data)
   5. purrr::map_dfc(data, shade)
  
  -- 99. Error: (unknown) (@test-shadow-long.R#3)  -------------------------------
  `map_dfc()` requires dplyr
  Backtrace:
   1. naniar::bind_shadow(airquality)
   4. naniar:::as_shadow.data.frame(data)
   5. purrr::map_dfc(data, shade)
  
  -- 100. Error: (unknown) (@test-special-missing-values.R#14)  ------------------
  `map_dfc()` requires dplyr
  Backtrace:
   1. naniar::bind_shadow(df)
   4. naniar:::as_shadow.data.frame(data)
   5. purrr::map_dfc(data, shade)
  
  -- 101. Error: (unknown) (@test-unbind.R#3)  -----------------------------------
  `map_dfc()` requires dplyr
  Backtrace:
   1. naniar::nabular(airquality)
   2. naniar::bind_shadow(data = data, only_miss = only_miss, ...)
   5. naniar:::as_shadow.data.frame(data)
   6. purrr::map_dfc(data, shade)
  
  == testthat results  ===========================================================
  [ OK: 258 | SKIPPED: 4 | WARNINGS: 0 | FAILED: 101 ]
  1. Error: add_any_miss returns a tibble (@test-add-any-miss.R#4) 
  2. Error: add_any_miss adds the right number of columns (@test-add-any-miss.R#8) 
  3. Error: add_any_miss adds a column with suffix 'any_miss_vars' or 'any_miss_all' (@test-add-any-miss.R#18) 
  4. Error: add_label_missings returns a tibble (@test-add-label-missings.R#4) 
  5. Error: add_label_missings adds the right number of columns (@test-add-label-missings.R#8) 
  6. Error: add_label_missings adds a column with suffix 'any_missing' (@test-add-label-missings.R#12) 
  7. Error: (unknown) (@test-add-label-missings.R#27) 
  8. Error: (unknown) (@test-add-label-shadow.R#3) 
  9. Error: (unknown) (@test-add-n-miss.R#11) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted