Running 'testthat.R' [13s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > suppressPackageStartupMessages(library(grwat))
  > 
  > test_check("grwat")
  [ FAIL 14 | WARN 2 | SKIP 2 | PASS 79 ]
  
  == Skipped tests ===============================================================
  * On CRAN (1)
  * ggHoriPlot cannot be loaded (1)
  
  == Failed tests ================================================================
  -- Error ('test-gr_fill_gaps.R:15'): Gaps are correctly filled -----------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-grwat::gr_fill_gaps(hdata, autocorr = 0.8) at test-gr_fill_gaps.R:15:2
   2. | \-... %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-gr_get_gaps.R:14'): Gaps are correctly identified --------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-grwat::gr_get_gaps(hdata) at test-gr_get_gaps.R:14:2
   2. | \-... %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-gr_kable_tests.R:3'): (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. +-grwat::gr_separate(spas, params = gr_get_params(reg = "center")) at test-gr_kable_tests.R:3:0
   2. | \-... %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-gr_plot_acf.R:5'): ACF ggplot has the correct content ----------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-grwat::gr_plot_acf(spas, 0.65) at test-gr_plot_acf.R:5:2
    2. | \-hdata %>% grwat::gr_get_gaps() %>% ...
    3. +-dplyr::filter(., .data$type == "data", .data$duration == max(.data$duration))
    4. +-grwat::gr_get_gaps(.)
    5. | \-... %>% ...
    6. \-base::loadNamespace(x)
    7.   +-base::namespaceImportFrom(...)
    8.   | \-base::asNamespace(ns)
    9.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   10.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-gr_plot_matrix.R:2'): (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. +-grwat::gr_separate(spas) at test-gr_plot_matrix.R:2:0
   2. | \-... %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-gr_plot_minmonth.R:2'): (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. +-grwat::gr_separate(spas, params = gr_get_params(reg = "center")) at test-gr_plot_minmonth.R:2:0
   2. | \-... %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-gr_plot_periods.R:2'): (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. +-grwat::gr_separate(spas, params = gr_get_params(reg = "center")) at test-gr_plot_periods.R:2:0
   2. | \-... %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-gr_plot_ridge.R:6'): Ridgeline plot has the correct content ----
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-grwat::gr_separate(spas, params = gr_get_params(reg = "center")) at test-gr_plot_ridge.R:6:2
   2. | \-... %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-gr_plot_sep.R:4'): (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. +-grwat::gr_separate(spas, params = gr_get_params(reg = "center")) at test-gr_plot_sep.R:4:0
   2. | \-... %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-gr_plot_tests.R:3'): (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. +-grwat::gr_separate(spas, params = gr_get_params(reg = "center")) at test-gr_plot_tests.R:3:0
   2. | \-... %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-gr_plot_vars.R:2'): (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. +-grwat::gr_separate(spas, params = gr_get_params(reg = "center")) at test-gr_plot_vars.R:2:0
   2. | \-... %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-gr_separate.R:9'): Separation with various filters works -------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_message(gr_separate(spas, params)) at test-gr_separate.R:9:4
    2. | \-testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-grwat::gr_separate(spas, params)
    7. | \-... %>% ...
    8. \-base::loadNamespace(x)
    9.   +-base::namespaceImportFrom(...)
   10.   | \-base::asNamespace(ns)
   11.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   12.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-gr_separate.R:20'): Debug separation works ---------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_warning(gr_separate(spas, params, debug = TRUE)) at test-gr_separate.R:20: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. +-grwat::gr_separate(spas, params, debug = TRUE)
    7. | \-... %>% ...
    8. \-base::loadNamespace(x)
    9.   +-base::namespaceImportFrom(...)
   10.   | \-base::asNamespace(ns)
   11.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   12.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-gr_set_locale.R:2'): (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. +-grwat::gr_separate(spas, params = gr_get_params(reg = "center")) at test-gr_set_locale.R:2:0
   2. | \-... %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 14 | WARN 2 | SKIP 2 | PASS 79 ]
  Error: Test failures
  Execution halted