Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(squat)
  
  Attaching package: 'squat'
  
  The following objects are masked from 'package:stats':
  
      kmeans, smooth
  
  The following objects are masked from 'package:base':
  
      append, scale
  
  > 
  > test_check("squat")
  [ FAIL 18 | WARN 0 | SKIP 18 | PASS 13 ]
  
  == Skipped tests ===============================================================
  * On CRAN (18)
  
  == Failed tests ================================================================
  -- Error ('test-interface.R:19'): The function exp() works ---------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-squat:::log.qts_sample(vespa64$igp) at test-interface.R:19:2
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-interface.R:52'): The function moving_average() works ----------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(moving_average(vespa64$igp), vespa64$igp) at test-interface.R:52:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-squat::moving_average(vespa64$igp)
   5. +-squat:::moving_average.qts_sample(vespa64$igp)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-qts-class.R:39'): Visualization code for QTS work --------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-ggplot2::autoplot(vespa64$igp[[1]]) at test-qts-class.R:39:2
   2. +-squat:::autoplot.qts(vespa64$igp[[1]])
   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-qts-class.R:49'): Visualization functions for QTS work ---------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-vdiffr::expect_doppelganger(title = "QTS plot", fig = plot(vespa64$igp[[1]])) at test-qts-class.R:49:2
    2. | \-vdiffr (local) writer(fig, testcase, title)
    3. |   \-vdiffr:::print_plot(plot, title)
    4. +-base::plot(vespa64$igp[[1]])
    5. +-squat:::plot.qts(vespa64$igp[[1]])
    6. | +-base::print(...)
    7. | +-ggplot2::autoplot(...)
    8. | \-squat:::autoplot.qts(...)
    9. \-base::loadNamespace(x)
   10.   +-base::namespaceImportFrom(...)
   11.   | \-base::asNamespace(ns)
   12.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   13.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-qts-dist.R:2'): Function distDTW() works -----------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-squat::distDTW(vespa64$igp) at test-qts-dist.R:2:2
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-qts-kmeans.R:2'): multiplication works -------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-withr::with_seed(...) at test-qts-kmeans.R:2:2
   2. | \-withr::with_preserve_seed(...)
   3. +-squat::kmeans(vespa64$igp, k = 2, nstart = 1) at test-qts-kmeans.R:3:4
   4. +-squat:::kmeans.qts_sample(vespa64$igp, k = 2, nstart = 1)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-qts-kmeans.R:9'): Visualization code for k-means work ----------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-withr::with_seed(...) at test-qts-kmeans.R:9:2
   2. | \-withr::with_preserve_seed(...)
   3. +-squat::kmeans(vespa64$igp, k = 2, nstart = 1) at test-qts-kmeans.R:10:4
   4. +-squat:::kmeans.qts_sample(vespa64$igp, k = 2, nstart = 1)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-qts-kmeans.R:20'): Visualization functions for PCA work --------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-withr::with_seed(...) at test-qts-kmeans.R:20:2
   2. | \-withr::with_preserve_seed(...)
   3. +-squat::kmeans(vespa64$igp, k = 2, nstart = 1) at test-qts-kmeans.R:21:4
   4. +-squat:::kmeans.qts_sample(vespa64$igp, k = 2, nstart = 1)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-qts-prcomp.R:2'): The function prcomp() works for QTS samples --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-stats::prcomp(vespa64$igp) at test-qts-prcomp.R:2:2
   2. +-squat:::prcomp.qts_sample(vespa64$igp)
   3. | \-base::apply(...)
   4. \-base::loadNamespace(x)
   5.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-qts-prcomp.R:7'): Visualization code for PCA work --------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-stats::prcomp(vespa64$igp) at test-qts-prcomp.R:7:2
   2. +-squat:::prcomp.qts_sample(vespa64$igp)
   3. | \-base::apply(...)
   4. \-base::loadNamespace(x)
   5.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-qts-prcomp.R:20'): Visualization functions for PCA work --------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-stats::prcomp(vespa64$igp) at test-qts-prcomp.R:20:2
   2. +-squat:::prcomp.qts_sample(vespa64$igp)
   3. | \-base::apply(...)
   4. \-base::loadNamespace(x)
   5.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-qts-sample-class.R:7'): Functions related to the QTS class work --
  `vespa64$igp[1]` threw an unexpected error.
  Message: DLL 'purrr' not found: maybe not installed for this architecture?
  Class:   simpleError/error/condition
  -- Error ('test-qts-sample-class.R:11'): The function append() works -----------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-squat::append(vespa64$igp, vespa64$igp[1]) at test-qts-sample-class.R:11:2
   2. +-squat:::append.qts_sample(vespa64$igp, vespa64$igp[1])
   3. | \-squat::is_qts(y)
   4. |   \-"qts" %in% class(x)
   5. +-vespa64$igp[1]
   6. +-squat:::`[.qts_sample`(vespa64$igp, 1)
   7. | \-squat::as_qts_sample(x)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-qts-sample-class.R:17'): The function rnorm_qts() works --------
  `rnorm_qts(1, vespa64$igp[[1]])` threw an unexpected error.
  Message: DLL 'purrr' not found: maybe not installed for this architecture?
  Class:   simpleError/error/condition
  -- Error ('test-qts-sample-class.R:23'): The function scale() works (center = TRUE, by_row = FALSE, keep_summary_stats = FALSE) --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-squat::scale(...) at test-qts-sample-class.R:23:2
   2. +-squat:::scale.qts_sample(...)
   3. \-base::loadNamespace(x)
   4.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-qts-sample-class.R:60'): The function scale() works (center = TRUE, by_row = TRUE, keep_summary_stats = FALSE) --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-squat::scale(...) at test-qts-sample-class.R:60:2
   2. +-squat:::scale.qts_sample(...)
   3. \-base::loadNamespace(x)
   4.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-qts-sample-class.R:79'): Visualization code for QTS samples work --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-ggplot2::autoplot(vespa64$igp) at test-qts-sample-class.R:79:2
   2. +-squat:::autoplot.qts_sample(vespa64$igp)
   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-qts-sample-class.R:91'): Visualization functions for QTS work --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-vdiffr::expect_doppelganger(title = "QTS sample plot", fig = plot(vespa64$igp)) at test-qts-sample-class.R:91:2
    2. | \-vdiffr (local) writer(fig, testcase, title)
    3. |   \-vdiffr:::print_plot(plot, title)
    4. +-base::plot(vespa64$igp)
    5. +-squat:::plot.qts_sample(vespa64$igp)
    6. | +-base::print(...)
    7. | +-ggplot2::autoplot(...)
    8. | \-squat:::autoplot.qts_sample(...)
    9. \-base::loadNamespace(x)
   10.   +-base::namespaceImportFrom(...)
   11.   | \-base::asNamespace(ns)
   12.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   13.     \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 18 | WARN 0 | SKIP 18 | PASS 13 ]
  Deleting unused snapshots:
  * qts-class/qts-plot-with-change-points.svg
  * qts-kmeans/k-means-plot.svg
  * qts-prcomp/colored-score-plot.svg
  * qts-prcomp/pc-plot.svg
  * qts-prcomp/score-plot.svg
  * qts-prcomp/screeplot.svg
  * qts-sample-class/qts-sample-plot-with-highlighted-observations.svg
  * qts-sample-class/qts-sample-plot-with-memberships.svg
  Error: Test failures
  Execution halted