Running 'testthat.R' [12s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(MazamaCoreUtils)
  > 
  > test_check("MazamaCoreUtils")
  -- 1. Failure: manageCache() tests sortBy values (@test-cacheManagement.R#14)  -
  `{ ... }` threw an error.
  Message: DLL 'dplyr' not found: maybe not installed for this architecture?
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. MazamaCoreUtils::manageCache(...)
    7. dplyr::arrange
    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)
  
  -- 2. Error: manageCache() doesn't remove files when maxCacheSize is big (@test-
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. MazamaCoreUtils::manageCache(...)
   2. dplyr::arrange
   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)
  
  -- 3. Error: manageCache() removes files when maxCacheSize is small (@test-cache
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. MazamaCoreUtils::manageCache(...)
   2. dplyr::arrange
   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)
  
  ERROR [2020-08-27 16:52:29] Error in log(x) : non-numeric argument to mathematical function
  ERROR [2020-08-27 16:52:29] Error in log(x) : non-numeric argument to mathematical function
  ERROR [2020-08-27 16:52:29] Error in log(x) : non-numeric argument to mathematical function
  ERROR [2020-08-27 16:52:29] Error in log(x) : non-numeric argument to mathematical function
  ERROR [2020-08-27 16:52:29] Error in log(x) : non-numeric argument to mathematical function
  ERROR [2020-08-27 16:52:29] Error in log(x) : non-numeric argument to mathematical function
  ERROR [2020-08-27 16:52:29] custom error message
  ERROR [2020-08-27 16:52:29] custom error message
  ERROR [2020-08-27 16:52:29] custom error message
  ERROR [2020-08-27 16:52:29] custom error message
  ERROR [2020-08-27 16:52:29] custom error message
  ERROR [2020-08-27 16:52:29] custom error message
  FATAL [2020-08-27 16:52:29] test
  FATAL [2020-08-27 16:52:29] test
  ERROR [2020-08-27 16:52:29] test
  ERROR [2020-08-27 16:52:29] test
  WARN [2020-08-27 16:52:30] test
  WARN [2020-08-27 16:52:30] test
  INFO [2020-08-27 16:52:30] test
  INFO [2020-08-27 16:52:30] test
  DEBUG [2020-08-27 16:52:30] test
  DEBUG [2020-08-27 16:52:30] test
  TRACE [2020-08-27 16:52:30] test
  TRACE [2020-08-27 16:52:30] test
  == testthat results  ===========================================================
  [ OK: 147 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
  1. Failure: manageCache() tests sortBy values (@test-cacheManagement.R#14) 
  2. Error: manageCache() doesn't remove files when maxCacheSize is big (@test-cacheManagement.R#35) 
  3. Error: manageCache() removes files when maxCacheSize is small (@test-cacheManagement.R#62) 
  
  Error: testthat unit tests failed
  Execution halted