Running 'spelling.R' [0s]
  Running 'testthat.R' [30s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(bayesmove)
  > 
  > test_check("bayesmove")
  [ FAIL 9 | WARN 4 | SKIP 0 | PASS 43 ]
  
  == Failed tests ================================================================
  -- Error ('test-assign_behavior.R:30'): behavior proportions are properly merged with original dataset --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-bayesmove::expand_behavior(...) at test-assign_behavior.R:30:2
   2. \-base::loadNamespace(x)
   3.   +-base::namespaceImportFrom(...)
   4.   | \-base::asNamespace(ns)
   5.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   6.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-assign_tseg.R:22'): time segments are assigned properly --------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-bayesmove::assign_tseg(dat = dat.list, brkpts = brkpts) at test-assign_tseg.R:22:2
   2. | \-... %>% dplyr::bind_rows()
   3. +-dplyr::bind_rows(.)
   4. | \-rlang::list2(...)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-expand_behavior.R:27'): behavior proportions augmented from segment to observation level --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-bayesmove::expand_behavior(...) at test-expand_behavior.R:27:2
   2. \-base::loadNamespace(x)
   3.   +-base::namespaceImportFrom(...)
   4.   | \-base::asNamespace(ns)
   5.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   6.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-filter_time.R:24'): time is filtered and dt and date are updated --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(...) at test-filter_time.R:24:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-base::unique(...)
   5. +-base::unlist(purrr::map(dat.list.filt, ~purrr::pluck(., "dt")))
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-find_breaks.R:21'): multiplication works -----------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::loadNamespace(x) at test-find_breaks.R:21:2
   2.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-get_behav_hist.R:24'): function correctly wrangles phi matrix into data frame --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-bayesmove::get_behav_hist(...) at test-get_behav_hist.R:24:2
   2. | \-... %>% dplyr::mutate(var = var.names[i])
   3. +-dplyr::mutate(., var = var.names[i])
   4. +-dplyr::arrange(., .data$behav)
   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-insert_NAs.R:19'): NA gaps are properly inserted within a time series --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-bayesmove::insert_NAs(dat, int = 8, units = "hours") at test-insert_NAs.R:19:2
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-prep_data.R:10'): step lengths, turning angles, NSD, and time steps are calculated --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-bayesmove::prep_data(...) at test-prep_data.R:10:2
    2. | \-... %>% mutate_at(c("step", "angle", "NSD"), ~ round(., 3))
    3. +-dplyr::mutate_at(., c("step", "angle", "NSD"), ~round(., 3))
    4. | \-dplyr:::manip_at(...)
    5. |   \-dplyr:::tbl_at_syms(...)
    6. |     \-dplyr:::tbl_at_vars(...)
    7. |       \-dplyr::tbl_vars(tbl)
    8. |         +-dplyr:::new_sel_vars(tbl_vars_dispatch(x), group_vars(x))
    9. |         | \-base::structure(...)
   10. |         \-dplyr:::tbl_vars_dispatch(x)
   11. +-dplyr::bind_rows(.)
   12. | \-rlang::list2(...)
   13. \-base::loadNamespace(x)
   14.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-segment_behavior.R:37'): segmentation model can effectively segment a dataset and return results --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-progressr::with_progress(...) at test-segment_behavior.R:37:2
   2. +-bayesmove::segment_behavior(...) at test-segment_behavior.R:38:4
   3. | \-progressr::with_progress(...)
   4. \-base::loadNamespace(x)
   5.   +-base::namespaceImportFrom(...)
   6.   | \-base::asNamespace(ns)
   7.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   8.     \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 9 | WARN 4 | SKIP 0 | PASS 43 ]
  Error: Test failures
  Execution halted