Running 'testthat.R' [54s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(RWDataPlyr)
  > 
  > test_check("RWDataPlyr")
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 570 ]
  
  == Failed tests ================================================================
  -- Error ('test_aggregationMethods.R:3'): (code run outside of `test_that()`) --
  Error: package or namespace load failed for 'tidyr' in library.dynam(lib, package, package.lib):
   DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::library(tidyr) at test_aggregationMethods.R:3:0
   2.   \-base::tryCatch(...)
   3.     \-base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         \-value[[3L]](cond)
  -- Error ('test_getDataForAllScens.R:18'): (code run outside of `test_that()`) --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_warning(...) at test_getDataForAllScens.R:18:0
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-RWDataPlyr::getDataForAllScens(...)
    7. | \-base::apply(scen, 1, getAndProcessAllSlots, slotAggList, findAllSlots)
    8. |   \-RWDataPlyr (local) FUN(newX[, i], ...)
    9. |     \-base::lapply(slotAggList, getSlots, sPath, findAllSlots)
   10. |       \-RWDataPlyr (local) FUN(X[[i]], ...)
   11. |         \-base::apply(...)
   12. |           \-RWDataPlyr (local) FUN(newX[, i], ...)
   13. |             \-... %>% dplyr::select(Trace, Year, Variable, Value)
   14. +-dplyr::select(., Trace, Year, Variable, Value)
   15. +-dplyr::mutate(...)
   16. \-base::loadNamespace(x)
   17.   +-base::namespaceImportFrom(...)
   18.   | \-base::asNamespace(ns)
   19.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   20.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_getSlots.R:16'): (code run outside of `test_that()`) -----------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-RWDataPlyr:::getSlots(...) at test_getSlots.R:16:0
    2. | \-base::apply(...)
    3. |   \-RWDataPlyr (local) FUN(newX[, i], ...)
    4. |     \-... %>% dplyr::select(Trace, Year, Variable, Value)
    5. +-dplyr::select(., Trace, Year, Variable, Value)
    6. +-dplyr::mutate(...)
    7. \-base::loadNamespace(x)
    8.   +-base::namespaceImportFrom(...)
    9.   | \-base::asNamespace(ns)
   10.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   11.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_processSlots.R:19'): warnings are posted for agg method and data timestep mismatches --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_warning(...) at test_processSlots.R:19:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-RWDataPlyr:::processSlots(sla, keyRdf, "KeySlots.rdf", findAllSlots = TRUE)
    7. | \-... %>% dplyr::select(Trace, Year, Variable, Value)
    8. +-dplyr::select(., Trace, Year, Variable, Value)
    9. +-dplyr::mutate(...)
   10. \-base::loadNamespace(x)
   11.   +-base::namespaceImportFrom(...)
   12.   | \-base::asNamespace(ns)
   13.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   14.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_processSlots.R:53'): (code run outside of `test_that()`) -------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-RWDataPlyr:::processSlots(sla, keyRdf, "KeySlots.rdf", findAllSlots = TRUE) at test_processSlots.R:53:0
   2. | \-... %>% dplyr::select(Trace, Year, Variable, Value)
   3. +-dplyr::select(., Trace, Year, Variable, Value)
   4. +-dplyr::mutate(...)
   5. \-base::loadNamespace(x)
   6.   +-base::namespaceImportFrom(...)
   7.   | \-base::asNamespace(ns)
   8.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   9.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_rw_scen_aggregate.R:129'): (code run outside of `test_that()`) --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_warning(...) at test_rw_scen_aggregate.R:129:0
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-RWDataPlyr::getDataForAllScens(scens1, scenNames, sal, scenPath)
    7. | \-base::apply(scen, 1, getAndProcessAllSlots, slotAggList, findAllSlots)
    8. |   \-RWDataPlyr (local) FUN(newX[, i], ...)
    9. |     \-base::lapply(slotAggList, getSlots, sPath, findAllSlots)
   10. |       \-RWDataPlyr (local) FUN(X[[i]], ...)
   11. |         \-base::apply(...)
   12. |           \-RWDataPlyr (local) FUN(newX[, i], ...)
   13. |             \-... %>% dplyr::select(Trace, Year, Variable, Value)
   14. +-dplyr::select(., Trace, Year, Variable, Value)
   15. +-dplyr::mutate(...)
   16. \-base::loadNamespace(x)
   17.   +-base::namespaceImportFrom(...)
   18.   | \-base::asNamespace(ns)
   19.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   20.     \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 570 ]
  Error: Test failures
  Execution halted