Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(impactr)
  > 
  > test_check("impactr")
  [ FAIL 16 | WARN 0 | SKIP 7 | PASS 8 ]
  
  == Skipped tests ===============================================================
  * `accdata` not available (7)
  
  == Failed tests ================================================================
  -- Error ('test-impactr_data_printing.R:2'): printing from read_acc() works ----
  `read_acc(test_path("test-data-hip-imu.csv"))` threw an unexpected error.
  Message: DLL 'purrr' not found: maybe not installed for this architecture?
  Class:   simpleError/error/condition
  -- Error ('test-impactr_data_printing.R:6'): printing from specify_parameter() works --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-impactr::read_acc(test_path("test-data-hip-imu.csv")) at test-impactr_data_printing.R:6:2
   2. | \-impactr:::get_metadata(file)
   3. |   \-impactr:::get_start_date_time(header)
   4. |     \-impactr:::get_parse_format(header)
   5. |       \-glue::glue_collapse(...)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-impactr_data_printing.R:11'): printing from filter_acc() works --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-impactr::read_acc(test_path("test-data-hip-imu.csv")) at test-impactr_data_printing.R:11:2
   2. | \-impactr:::get_metadata(file)
   3. |   \-impactr:::get_start_date_time(header)
   4. |     \-impactr:::get_parse_format(header)
   5. |       \-glue::glue_collapse(...)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-impactr_data_printing.R:16'): printing from find_peaks() works --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-impactr::read_acc(impactr_example("hip-raw.csv")) at test-impactr_data_printing.R:16:2
   2. | \-impactr:::get_metadata(file)
   3. |   \-impactr:::get_start_date_time(header)
   4. |     \-impactr:::get_parse_format(header)
   5. |       \-glue::glue_collapse(...)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-predict.R:2'): error handling works ----------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-impactr::read_acc(impactr_example("hip-raw.csv")) at test-predict.R:2:2
   2. | \-impactr:::get_metadata(file)
   3. |   \-impactr:::get_start_date_time(header)
   4. |     \-impactr:::get_parse_format(header)
   5. |       \-glue::glue_collapse(...)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-predict.R:55'): predict_loading() works ------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-impactr::read_acc(impactr_example("hip-raw.csv")) at test-predict.R:55:2
   2. | \-impactr:::get_metadata(file)
   3. |   \-impactr:::get_start_date_time(header)
   4. |     \-impactr:::get_parse_format(header)
   5. |       \-glue::glue_collapse(...)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-read_acc.R:35'): output object is of class `impactr_data` ------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-impactr::read_acc(test_path("test-data-hip-imu.csv")) at test-read_acc.R:35:2
   2. | \-impactr:::get_metadata(file)
   3. |   \-impactr:::get_start_date_time(header)
   4. |     \-impactr:::get_parse_format(header)
   5. |       \-glue::glue_collapse(...)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-read_acc.R:43'): output attributes are correct -----------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-impactr::read_acc(test_path("test-data-hip-imu.csv")) at test-read_acc.R:43:2
   2. | \-impactr:::get_metadata(file)
   3. |   \-impactr:::get_start_date_time(header)
   4. |     \-impactr:::get_parse_format(header)
   5. |       \-glue::glue_collapse(...)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-read_acc.R:72'): output columns are correct --------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-impactr::read_acc(test_path("test-data-hip-imu.csv")) at test-read_acc.R:72:2
   2. | \-impactr:::get_metadata(file)
   3. |   \-impactr:::get_start_date_time(header)
   4. |     \-impactr:::get_parse_format(header)
   5. |       \-glue::glue_collapse(...)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-read_acc.R:92'): read_acc() works with date format separated by `/` --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-impactr::read_acc(test_path("test-data-hip-imu.csv")) at test-read_acc.R:92:2
   2. | \-impactr:::get_metadata(file)
   3. |   \-impactr:::get_start_date_time(header)
   4. |     \-impactr:::get_parse_format(header)
   5. |       \-glue::glue_collapse(...)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-signal_processing.R:4'): filter_acc() error handling works -----
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-impactr::read_acc(test_path("test-data-hip-imu.csv")) at test-signal_processing.R:4:2
   2. | \-impactr:::get_metadata(file)
   3. |   \-impactr:::get_start_date_time(header)
   4. |     \-impactr:::get_parse_format(header)
   5. |       \-glue::glue_collapse(...)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-signal_processing.R:50'): find_peaks() error handling works ----
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-impactr::read_acc(test_path("test-data-hip-imu.csv")) at test-signal_processing.R:50:2
   2. | \-impactr:::get_metadata(file)
   3. |   \-impactr:::get_start_date_time(header)
   4. |     \-impactr:::get_parse_format(header)
   5. |       \-glue::glue_collapse(...)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-utils.R:4'): specify_parameters() error handling works ---------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-impactr::read_acc(test_path("test-data-hip-imu.csv")) at test-utils.R:4:2
   2. | \-impactr:::get_metadata(file)
   3. |   \-impactr:::get_start_date_time(header)
   4. |     \-impactr:::get_parse_format(header)
   5. |       \-glue::glue_collapse(...)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-utils.R:33'): attributes have the correct values ---------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-impactr::read_acc(test_path("test-data-hip-imu.csv")) at test-utils.R:33:2
   2. | \-impactr:::get_metadata(file)
   3. |   \-impactr:::get_start_date_time(header)
   4. |     \-impactr:::get_parse_format(header)
   5. |       \-glue::glue_collapse(...)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-utils.R:43'): define_region() error handling works -------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-impactr::read_acc(test_path("test-data-hip-imu.csv")) at test-utils.R:43:2
   2. | \-impactr:::get_metadata(file)
   3. |   \-impactr:::get_start_date_time(header)
   4. |     \-impactr:::get_parse_format(header)
   5. |       \-glue::glue_collapse(...)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-utils.R:78'): define_region() works ----------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-impactr::read_acc(test_path("test-data-long.csv")) at test-utils.R:78:2
   2. | \-impactr:::get_metadata(file)
   3. |   \-impactr:::get_start_date_time(header)
   4. |     \-impactr:::get_parse_format(header)
   5. |       \-glue::glue_collapse(...)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 16 | WARN 0 | SKIP 7 | PASS 8 ]
  Error: Test failures
  Execution halted