Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(modeltests)
  > 
  > test_check("modeltests")
  -- 1. Error: (unknown) (@test-augment_data_helper.R#4)  ------------------------
  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)
  
  -- 2. Failure: strict = TRUE (@test-check_arguments.R#35)  ---------------------
  `check_arguments(tidy_missing_default, strict = TRUE)` threw an error with unexpected message.
  Expected match: "Arguments conf.method to `tidy_missing_default` must have default values. Use `NULL` to indicate missingness if necessary."
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. modeltests::check_arguments(tidy_missing_default, strict = TRUE)
    7. dplyr::filter
    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)
  
  -- 3. Failure: strict = TRUE (@test-check_arguments.R#43)  ---------------------
  `check_arguments(tidy_no_conf_int, strict = TRUE)` threw an error with unexpected message.
  Expected match: "Tidiers with `conf.level` argument must have `conf.int` argument."
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. modeltests::check_arguments(tidy_no_conf_int, strict = TRUE)
    7. dplyr::filter
    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)
  
  -- 4. Failure: strict = TRUE (@test-check_arguments.R#48)  ---------------------
  `check_arguments(tidy_no_conf_lvl, strict = TRUE)` threw an error with unexpected message.
  Expected match: "Tidiers with `conf.int` argument must have `conf.level` argument."
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. modeltests::check_arguments(tidy_no_conf_lvl, strict = TRUE)
    7. dplyr::filter
    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)
  
  -- 5. Failure: strict = TRUE (@test-check_arguments.R#53)  ---------------------
  `check_arguments(tidy_wrong_conf_lvl, strict = TRUE)` threw an error with unexpected message.
  Expected match: "`conf.level` argument must default to `0.95`."
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. modeltests::check_arguments(tidy_wrong_conf_lvl, strict = TRUE)
    7. dplyr::filter
    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)
  
  -- 6. Failure: strict = TRUE (@test-check_arguments.R#58)  ---------------------
  `check_arguments(tidy_wrong_conf_int, strict = TRUE)` threw an error with unexpected message.
  Expected match: "`conf.int` argument must default to `FALSE`."
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. modeltests::check_arguments(tidy_wrong_conf_int, strict = TRUE)
    7. dplyr::filter
    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)
  
  -- 7. Failure: strict = TRUE (@test-check_arguments.R#63)  ---------------------
  `check_arguments(tidy_not_in_glossary, strict = TRUE)` threw an error with unexpected message.
  Expected match: "Arguments other_arg to `tidy_not_in_glossary` must be listed in the argument glossary."
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. modeltests::check_arguments(tidy_not_in_glossary, strict = TRUE)
    7. dplyr::filter
    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)
  
  -- 8. Failure: strict = TRUE (@test-check_arguments.R#71)  ---------------------
  `check_arguments(tidy_exponentiates, strict = TRUE)` threw an error with unexpected message.
  Expected match: "Argument `exponentiate` must default to `FALSE`."
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. modeltests::check_arguments(tidy_exponentiates, strict = TRUE)
    7. dplyr::filter
    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)
  
  -- 9. Error: strict = TRUE (@test-check_arguments.R#76)  -----------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_silent(...)
    9. modeltests::check_arguments(tidy_correct, strict = TRUE)
   10. dplyr::filter
   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)
  
  -- 10. Failure: add_missing = FALSE, test_newdata = FALSE (@test-check_augment_d
  `check_augment_data_specification(...)` threw an error with unexpected message.
  Expected match: "Augmented data must be the same for tibble and data frame input."
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. modeltests:::check_augment_data_specification(...)
    7. purrr::walk2(...)
    8. purrr::map2(.x, .y, .f, ...)
    9. modeltests:::.f(.x[[i]], .y[[i]], ...)
   10. modeltests::check_tibble(au, method = "augment", columns = new_cols)
   14. dplyr::filter(., method == !!method)
   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)
  
  -- 11. Failure: add_missing = FALSE, test_newdata = FALSE (@test-check_augment_d
  `check_augment_data_specification(...)` threw an error with unexpected message.
  Expected match: "Augmented data must be the same for dataframes with and without rownames."
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. modeltests:::check_augment_data_specification(...)
    7. purrr::walk2(...)
    8. purrr::map2(.x, .y, .f, ...)
    9. modeltests:::.f(.x[[i]], .y[[i]], ...)
   10. modeltests::check_tibble(au, method = "augment", columns = new_cols)
   14. dplyr::filter(., method == !!method)
   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)
  
  -- 12. Error: add_missing = FALSE, test_newdata = FALSE (@test-check_augment_dat
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_silent(...)
    9. modeltests:::check_augment_data_specification(...)
   10. purrr::walk2(...)
   11. purrr::map2(.x, .y, .f, ...)
   12. modeltests:::.f(.x[[i]], .y[[i]], ...)
   13. modeltests::check_tibble(au, method = "augment", columns = new_cols)
   14. dplyr::filter(., method == !!method)
   22. base::getExportedValue(pkg, name)
   23. base::asNamespace(ns)
   24. base::getNamespace(ns)
   25. base::loadNamespace(name)
   26. base::library.dynam(lib, package, package.lib)
  
  -- 13. Failure: add_missing = FALSE, test_newdata = TRUE (@test-check_augment_da
  `check_augment_data_specification(...)` threw an error with unexpected message.
  Expected match: "Augmented data must be the same for tibble and data frame input."
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. modeltests:::check_augment_data_specification(...)
    7. purrr::walk2(...)
    8. purrr::map2(.x, .y, .f, ...)
    9. modeltests:::.f(.x[[i]], .y[[i]], ...)
   10. modeltests::check_tibble(au, method = "augment", columns = new_cols)
   14. dplyr::filter(., method == !!method)
   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)
  
  -- 14. Failure: add_missing = FALSE, test_newdata = TRUE (@test-check_augment_da
  `check_augment_data_specification(...)` threw an error with unexpected message.
  Expected match: "Augmented data must be the same for dataframes with and without rownames."
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. modeltests:::check_augment_data_specification(...)
    7. purrr::walk2(...)
    8. purrr::map2(.x, .y, .f, ...)
    9. modeltests:::.f(.x[[i]], .y[[i]], ...)
   10. modeltests::check_tibble(au, method = "augment", columns = new_cols)
   14. dplyr::filter(., method == !!method)
   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)
  
  -- 15. Error: add_missing = FALSE, test_newdata = TRUE (@test-check_augment_data
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_silent(...)
    9. modeltests:::check_augment_data_specification(...)
   10. purrr::walk2(...)
   11. purrr::map2(.x, .y, .f, ...)
   12. modeltests:::.f(.x[[i]], .y[[i]], ...)
   13. modeltests::check_tibble(au, method = "augment", columns = new_cols)
   14. dplyr::filter(., method == !!method)
   22. base::getExportedValue(pkg, name)
   23. base::asNamespace(ns)
   24. base::getNamespace(ns)
   25. base::loadNamespace(name)
   26. base::library.dynam(lib, package, package.lib)
  
  -- 16. Failure: add_missing = TRUE, test_newdata = TRUE (@test-check_augment_dat
  `check_augment_data_specification(...)` threw an error with unexpected message.
  Expected match: "Augmented data must be the same for tibble and data frame input."
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. modeltests:::check_augment_data_specification(...)
    7. purrr::walk2(...)
    8. purrr::map2(.x, .y, .f, ...)
    9. modeltests:::.f(.x[[i]], .y[[i]], ...)
   10. modeltests::check_tibble(au, method = "augment", columns = new_cols)
   14. dplyr::filter(., method == !!method)
   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)
  
  -- 17. Failure: add_missing = TRUE, test_newdata = TRUE (@test-check_augment_dat
  `check_augment_data_specification(...)` threw an error with unexpected message.
  Expected match: "Augmented data must be the same for dataframes with and without rownames."
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. modeltests:::check_augment_data_specification(...)
    7. purrr::walk2(...)
    8. purrr::map2(.x, .y, .f, ...)
    9. modeltests:::.f(.x[[i]], .y[[i]], ...)
   10. modeltests::check_tibble(au, method = "augment", columns = new_cols)
   14. dplyr::filter(., method == !!method)
   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)
  
  -- 18. Error: add_missing = TRUE, test_newdata = TRUE (@test-check_augment_data_
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_silent(...)
    9. modeltests:::check_augment_data_specification(...)
   10. purrr::walk2(...)
   11. purrr::map2(.x, .y, .f, ...)
   12. modeltests:::.f(.x[[i]], .y[[i]], ...)
   13. modeltests::check_tibble(au, method = "augment", columns = new_cols)
   14. dplyr::filter(., method == !!method)
   22. base::getExportedValue(pkg, name)
   23. base::asNamespace(ns)
   24. base::getNamespace(ns)
   25. base::loadNamespace(name)
   26. base::library.dynam(lib, package, package.lib)
  
  -- 19. Error: strict = TRUE (@test-check_augment_function.R#61)  ---------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_silent(...)
    9. modeltests::check_augment_function(...)
   10. modeltests:::check_augment_data_specification(...)
   11. purrr::walk2(...)
   12. purrr::map2(.x, .y, .f, ...)
   13. modeltests:::.f(.x[[i]], .y[[i]], ...)
   14. modeltests::check_tibble(au, method = "augment", columns = new_cols)
   15. dplyr::filter(., method == !!method)
   23. base::getExportedValue(pkg, name)
   24. base::asNamespace(ns)
   25. base::getNamespace(ns)
   26. base::loadNamespace(name)
   27. base::library.dynam(lib, package, package.lib)
  
  -- 20. Error: strict = TRUE (@test-check_augment_no_data.R#29)  ----------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_silent(...)
    9. modeltests:::check_augment_no_data(...)
   10. modeltests::check_tibble(au, method = "augment", columns = new_cols)
   11. dplyr::filter(., method == !!method)
   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)
  
  -- 21. Failure: strict = TRUE (@test-check_glance_outputs.R#33)  ---------------
  `check_glance_outputs(gl, gl2, strict = TRUE)` threw an error with unexpected message.
  Expected match: "Glance column names and order must agree across all ouputs."
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. modeltests::check_glance_outputs(gl, gl2, strict = TRUE)
    7. purrr::walk(glances, check_single_glance_output)
    8. purrr::map(.x, .f, ...)
    9. modeltests:::.f(.x[[i]], ...)
   10. modeltests::check_tibble(gl, method = "glance", strict = strict)
   14. dplyr::filter(., method == !!method)
   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)
  
  -- 22. Failure: strict = TRUE (@test-check_glance_outputs.R#38)  ---------------
  `check_glance_outputs(gl, gl2, strict = TRUE)` threw an error with unexpected message.
  Expected match: "Glance column names and order must agree across all ouputs."
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. modeltests::check_glance_outputs(gl, gl2, strict = TRUE)
    7. purrr::walk(glances, check_single_glance_output)
    8. purrr::map(.x, .f, ...)
    9. modeltests:::.f(.x[[i]], ...)
   10. modeltests::check_tibble(gl, method = "glance", strict = strict)
   14. dplyr::filter(., method == !!method)
   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)
  
  -- 23. Error: (unknown) (@test-check_single_augment_output.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)
  
  -- 24. Failure: strict = TRUE (@test-check_tibble.R#22)  -----------------------
  `check_tibble(df, method = "tidy", strict = TRUE)` threw an error with unexpected message.
  Expected match: "Output column names not in the column glossary: invalid_name"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. modeltests::check_tibble(df, method = "tidy", strict = TRUE)
   10. dplyr::filter(., method == !!method)
   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)
  
  -- 25. Error: strict = TRUE (@test-check_tibble.R#27)  -------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_silent(...)
    9. modeltests::check_tibble(...)
   10. dplyr::filter(., method == !!method)
   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)
  
  == testthat results  ===========================================================
  [ OK: 73 | SKIPPED: 0 | WARNINGS: 3 | FAILED: 25 ]
  1. Error: (unknown) (@test-augment_data_helper.R#4) 
  2. Failure: strict = TRUE (@test-check_arguments.R#35) 
  3. Failure: strict = TRUE (@test-check_arguments.R#43) 
  4. Failure: strict = TRUE (@test-check_arguments.R#48) 
  5. Failure: strict = TRUE (@test-check_arguments.R#53) 
  6. Failure: strict = TRUE (@test-check_arguments.R#58) 
  7. Failure: strict = TRUE (@test-check_arguments.R#63) 
  8. Failure: strict = TRUE (@test-check_arguments.R#71) 
  9. Error: strict = TRUE (@test-check_arguments.R#76) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted