Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(activPAL)
  > 
  > test_check("activPAL")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test.activity.summary.by.period.R:8:3): generate_activity_summary ────
  Error in `.POSIXct(x, tz, ...)`: unused argument (origin = "1970-01-01")
  Backtrace:
      ▆
   1. └─activPAL::activity.summary.by.window.duration(...) at test.activity.summary.by.period.R:8:2
   2.   └─activPAL:::activity.summary.folder(...)
   3.     └─activPAL:::activity.summary.file(...)
   4.       └─activPAL:::pre.process.events.file(file_path)
   5.         └─activPAL:::activpal.file.process(events_file)
   6.           └─activPAL:::activpal.file.process.split.day(...)
   7.             └─activPAL:::activpal.file.process.split.day.run(...)
   8.               ├─base::as.POSIXct(...)
   9.               └─base::as.POSIXct.default(...)
  ── Error (test.load.events.files.R:6:3): file_loading ──────────────────────────
  Error in `.POSIXct(x, tz, ...)`: unused argument (origin = "1970-01-01")
  Backtrace:
      ▆
   1. └─activPAL:::pre.process.events.file(...) at test.load.events.files.R:6:2
   2.   └─activPAL:::activpal.file.process(events_file)
   3.     └─activPAL:::activpal.file.process.split.day(...)
   4.       └─activPAL:::activpal.file.process.split.day.run(...)
   5.         ├─base::as.POSIXct(...)
   6.         └─base::as.POSIXct.default(...)
  ── Error (test.stepping.cadence.bubble.chart.R:9:3): generate_cadence_histograme ──
  Error in `.POSIXct(x, tz, ...)`: unused argument (origin = "1970-01-01")
  Backtrace:
      ▆
   1. └─activPAL::daily.stepping.activity.bubble.chart(...) at test.stepping.cadence.bubble.chart.R:9:2
   2.   └─activPAL:::pre.process.events.file(file_list[i], input_folder)
   3.     └─activPAL:::activpal.file.process(events_file)
   4.       └─activPAL:::activpal.file.process.split.day(...)
   5.         └─activPAL:::activpal.file.process.split.day.run(...)
   6.           ├─base::as.POSIXct(...)
   7.           └─base::as.POSIXct.default(...)
  ── Error (test.stepping.cadence.histogram.R:9:3): generate_cadence_histograme ──
  Error in `.POSIXct(x, tz, ...)`: unused argument (origin = "1970-01-01")
  Backtrace:
      ▆
   1. └─activPAL::stepping.cadence.bands.folder.two.stepping.groups(...) at test.stepping.cadence.histogram.R:9:2
   2.   └─activPAL:::stepping.cadence.bands.folder(...)
   3.     └─activPAL:::pre.process.events.file(i, input_folder)
   4.       └─activPAL:::activpal.file.process(events_file)
   5.         └─activPAL:::activpal.file.process.split.day(...)
   6.           └─activPAL:::activpal.file.process.split.day.run(...)
   7.             ├─base::as.POSIXct(...)
   8.             └─base::as.POSIXct.default(...)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted