Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(unheadr)
  > 
  > test_check("unheadr")
  -- 1. Error: no annotations when there is no formatting (@test-annotate_mf.R#5) 
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. unheadr::annotate_mf("./dog_test_plain.xlsx", orig = Task, new = Task_annotated)
   2. dplyr::enquo
   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)
  
  -- 2. Failure: error when spreadsheet has empty or NA values in the header row (
  `annotate_mf("./dog_testNAvar.xlsx", orig = emptyvar, new = Task_annotated)` threw an error with unexpected message.
  Expected match: "Check the spreadsheet for empty values in the header row"
  Actual message: "DLL 'dplyr' not found: maybe not installed for this architecture?"
  Backtrace:
    1. testthat::expect_error(...)
    6. unheadr::annotate_mf(...)
    7. dplyr::enquo
    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. Error: all four formatting options are annotated (@test-annotate_mf.R#25) 
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. unheadr::annotate_mf("./dog_test_f.xlsx", orig = Task, new = Task_annotated)
   2. dplyr::enquo
   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)
  
  -- 4. Error: 0-row output when regex does not match (@test-unbreak_fn.R#8)  ----
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. unheadr::unbreak_vals(...)
   2. dplyr::enquo
   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)
  
  -- 5. Error: nrows unchanged when .slice_groups= FALSE (@test-unbreak_fn.R#20)  
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. unheadr::unbreak_vals(...)
   2. dplyr::enquo
   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)
  
  -- 6. Error: grepl matches produce message (@test-unbreak_fn.R#54)  ------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_message(unbreak_rows(bball, "Most", v2))
    6. unheadr::unbreak_rows(bball, "Most", v2)
    7. dplyr::enquo
    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. Error: target variable is called 'regex' (@test-untangle2.R#8)  ----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_warning(...)
    6. unheadr::untangle2(df, regex = "^gp", orig = regex, new = new_col)
    7. dplyr::enquo
    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. Error: grepl matches produce message (@test-untangle2.R#18)  -------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_message(...)
    6. unheadr::untangle2(df, regex = "^gp", orig = var_eb, new = new_col)
    7. dplyr::enquo
    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: fn cleans up NAs in grouping variable (@test-unwrap_fn.R#19)  -----
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. unheadr::unwrap_cols(df, ounits, ",")
   2. dplyr::enquo
   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)
  
  == testthat results  ===========================================================
  [ OK: 4 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 9 ]
  1. Error: no annotations when there is no formatting (@test-annotate_mf.R#5) 
  2. Failure: error when spreadsheet has empty or NA values in the header row (@test-annotate_mf.R#11) 
  3. Error: all four formatting options are annotated (@test-annotate_mf.R#25) 
  4. Error: 0-row output when regex does not match (@test-unbreak_fn.R#8) 
  5. Error: nrows unchanged when .slice_groups= FALSE (@test-unbreak_fn.R#20) 
  6. Error: grepl matches produce message (@test-unbreak_fn.R#54) 
  7. Error: target variable is called 'regex' (@test-untangle2.R#8) 
  8. Error: grepl matches produce message (@test-untangle2.R#18) 
  9. Error: fn cleans up NAs in grouping variable (@test-unwrap_fn.R#19) 
  
  Error: testthat unit tests failed
  Execution halted