CRAN Package Check Results for Package actigraph.sleepr

Last updated on 2026-09-07 14:50:48 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 19.21 116.60 135.81 OK
r-devel-linux-x86_64-debian-gcc 0.3.1 13.44 84.26 97.70 OK
r-devel-linux-x86_64-fedora-clang 0.3.1 16.00 84.04 100.04 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.1 85.16 ERROR
r-devel-windows-x86_64 0.3.1 25.00 210.00 235.00 OK
r-patched-linux-x86_64 0.3.1 18.13 102.64 120.77 OK
r-release-linux-x86_64 0.3.1 17.79 103.09 120.88 OK
r-release-macos-arm64 0.3.1 5.00 32.00 37.00 OK
r-release-macos-x86_64 0.3.1 13.00 226.00 239.00 OK
r-release-windows-x86_64 0.3.1 25.00 139.00 164.00 OK
r-oldrel-macos-arm64 0.3.1 4.00 38.00 42.00 OK
r-oldrel-macos-x86_64 0.3.1 13.00 109.00 122.00 OK
r-oldrel-windows-x86_64 0.3.1 30.00 180.00 210.00 OK

Check Details

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [10s/34s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(tidyr) > library(dplyr) Attaching package: 'dplyr' The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union > library(actigraph.sleepr) > > test_check("actigraph.sleepr") Saving _problems/test_nonwear_func-49.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 92 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_nonwear_func.R:43:7'): apply_troiano return same result as ActiLife 6 ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., count = if (use_magnitude) .data$magnitude else .data$axis1, count = if_else(.data$count > max_nonzero_count, 0L, .data$count), length = wle(.data$count, activity_threshold, spike_tolerance, spike_stoplevel))`: ℹ In argument: `length = wle(.data$count, activity_threshold, spike_tolerance, spike_stoplevel)`. Caused by error in `wle()`: ! function 'enterRNGScope' not provided by package 'Rcpp' Backtrace: ▆ 1. ├─params %>% rowwise() %>% ... at test_nonwear_func.R:34:3 2. ├─dplyr::do(...) 3. ├─dplyr:::do.rowwise_df(...) 4. │ └─rlang::eval_tidy(args[[j]], mask) 5. ├─epochs %>% ... at test_nonwear_func.R:43:7 6. ├─actigraph.sleepr::apply_troiano(...) 7. │ └─agdb %>% ... 8. ├─dplyr::group_modify(...) 9. ├─dplyr:::group_modify.data.frame(...) 10. │ └─actigraph.sleepr (local) .f(.data, group_keys(.data), ...) 11. │ └─actigraph.sleepr:::apply_troiano_nonseq_(...) 12. │ └─... %>% select("period_start", "period_end", "length") 13. ├─dplyr::select(., "period_start", "period_end", "length") 14. ├─dplyr::filter(., overlap(.data$a, .data$b)) 15. ├─dplyr::mutate(...) 16. ├─dplyr::mutate(...) 17. ├─dplyr::select(., period_start = "timestamp", "length") 18. ├─dplyr::filter(., .data$length >= min_period_len) 19. ├─dplyr::mutate(...) 20. ├─dplyr:::mutate.data.frame(...) 21. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 22. │ ├─base::withCallingHandlers(...) 23. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 24. │ └─mask$eval_all_mutate(quo) 25. │ └─dplyr (local) eval() 26. ├─actigraph.sleepr:::wle(...) 27. └─base::.handleSimpleError(...) 28. └─dplyr (local) h(simpleError(msg, call)) 29. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 92 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(tidyr) > library(dplyr) Attaching package: 'dplyr' The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union > library(actigraph.sleepr) > > test_check("actigraph.sleepr") Saving _problems/test_nonwear_func-49.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 92 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_nonwear_func.R:43:7'): apply_troiano return same result as ActiLife 6 ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., count = if (use_magnitude) .data$magnitude else .data$axis1, count = if_else(.data$count > max_nonzero_count, 0L, .data$count), length = wle(.data$count, activity_threshold, spike_tolerance, spike_stoplevel))`: ℹ In argument: `length = wle(.data$count, activity_threshold, spike_tolerance, spike_stoplevel)`. Caused by error in `wle()`: ! function 'enterRNGScope' not provided by package 'Rcpp' Backtrace: ▆ 1. ├─params %>% rowwise() %>% ... at test_nonwear_func.R:34:3 2. ├─dplyr::do(...) 3. ├─dplyr:::do.rowwise_df(...) 4. │ └─rlang::eval_tidy(args[[j]], mask) 5. ├─epochs %>% ... at test_nonwear_func.R:43:7 6. ├─actigraph.sleepr::apply_troiano(...) 7. │ └─agdb %>% ... 8. ├─dplyr::group_modify(...) 9. ├─dplyr:::group_modify.data.frame(...) 10. │ └─actigraph.sleepr (local) .f(.data, group_keys(.data), ...) 11. │ └─actigraph.sleepr:::apply_troiano_nonseq_(...) 12. │ └─... %>% select("period_start", "period_end", "length") 13. ├─dplyr::select(., "period_start", "period_end", "length") 14. ├─dplyr::filter(., overlap(.data$a, .data$b)) 15. ├─dplyr::mutate(...) 16. ├─dplyr::mutate(...) 17. ├─dplyr::select(., period_start = "timestamp", "length") 18. ├─dplyr::filter(., .data$length >= min_period_len) 19. ├─dplyr::mutate(...) 20. ├─dplyr:::mutate.data.frame(...) 21. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 22. │ ├─base::withCallingHandlers(...) 23. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 24. │ └─mask$eval_all_mutate(quo) 25. │ └─dplyr (local) eval() 26. ├─actigraph.sleepr:::wle(...) 27. └─base::.handleSimpleError(...) 28. └─dplyr (local) h(simpleError(msg, call)) 29. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 92 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc