Last updated on 2023-03-20 05:52:20 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.4 | OK | ||||
r-devel-linux-x86_64-debian-gcc | 0.1.4 | 6.95 | 100.25 | 107.20 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.1.4 | 176.16 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.4 | 178.28 | OK | |||
r-patched-linux-x86_64 | 0.1.4 | 10.45 | 131.71 | 142.16 | OK | |
r-release-linux-x86_64 | 0.1.4 | 7.84 | 129.42 | 137.26 | OK | |
r-release-macos-arm64 | 0.1.4 | 52.00 | OK | |||
r-release-macos-x86_64 | 0.1.4 | 63.00 | OK | |||
r-release-windows-x86_64 | 0.1.4 | 40.00 | 169.00 | 209.00 | OK | |
r-oldrel-macos-arm64 | 0.1.4 | 53.00 | OK | |||
r-oldrel-macos-x86_64 | 0.1.4 | 67.00 | OK | |||
r-oldrel-windows-ix86+x86_64 | 0.1.4 | 31.00 | 159.00 | 190.00 | OK |
Version: 0.1.4
Check: examples
Result: ERROR
Running examples in ‘processcheckR-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: contains_between
> ### Title: Contains Between
> ### Aliases: contains_between
>
> ### ** Examples
>
> library(bupaR)
Attaching package: ‘bupaR’
The following object is masked from ‘package:stats’:
filter
The following object is masked from ‘package:utils’:
timestamp
> library(eventdataR)
>
> # A patients should have between 0 and 4 blood tests (including 0 and 4).
> patients %>%
+ check_rule(contains_between("Blood test", min = 0, max = 4))
Error in vectbl_assign(x[[j]], i, recycled_value[[j]]) :
DLL requires the use of native symbols
Calls: %>% ... tbl_subassign_row -> withCallingHandlers -> vectbl_assign
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [32s/48s]
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(processcheckR)
Attaching package: 'processcheckR'
The following object is masked from 'package:base':
xor
>
> test_check("processcheckR")
[ FAIL 8 | WARN 24 | SKIP 0 | PASS 431 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_contains_between.R:8:3'): test contains_between on eventlog with args min = 1, max = 1 ──
Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
Backtrace:
▆
1. ├─patients %>% ... at test_contains_between.R:8:2
2. ├─processcheckR::check_rule(...)
3. ├─processcheckR:::check_rule.log(...)
4. │ └─... %>% select(-rule_holds)
5. ├─dplyr::select(., -rule_holds)
6. ├─dplyr::mutate(., `:=`(!!sym(label), rule_holds))
7. ├─attr(rule, "checker")(., rule)
8. ├─processcheckR:::contains_between_checker.log(., rule)
9. │ └─... %>% pull(1)
10. ├─dplyr::pull(., 1)
11. ├─dplyr::filter(...)
12. ├─tidyr::replace_na(., list(n_activity_instances = 0))
13. ├─dplyr::right_join(...)
14. └─dplyr:::right_join.data.frame(...)
15. └─dplyr:::join_mutate(...)
16. ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
17. └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
18. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
19. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
20. ├─base::withCallingHandlers(...)
21. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
── Error ('test_contains_between.R:25:3'): test contains on eventlog with args min > 1, max > 1 ──
Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
Backtrace:
▆
1. ├─patients %>% ... at test_contains_between.R:25:2
2. ├─processcheckR::check_rule(...)
3. ├─processcheckR:::check_rule.log(...)
4. │ └─... %>% select(-rule_holds)
5. ├─dplyr::select(., -rule_holds)
6. ├─dplyr::mutate(., `:=`(!!sym(label), rule_holds))
7. ├─attr(rule, "checker")(., rule)
8. ├─processcheckR:::contains_between_checker.log(., rule)
9. │ └─... %>% pull(1)
10. ├─dplyr::pull(., 1)
11. ├─dplyr::filter(...)
12. ├─tidyr::replace_na(., list(n_activity_instances = 0))
13. ├─dplyr::right_join(...)
14. └─dplyr:::right_join.data.frame(...)
15. └─dplyr:::join_mutate(...)
16. ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
17. └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
18. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
19. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
20. ├─base::withCallingHandlers(...)
21. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
── Error ('test_contains_between.R:42:3'): test contains on eventlog with args min = 0, max = 1 ──
Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
Backtrace:
▆
1. ├─patients %>% ... at test_contains_between.R:42:2
2. ├─processcheckR::check_rule(...)
3. ├─processcheckR:::check_rule.log(...)
4. │ └─... %>% select(-rule_holds)
5. ├─dplyr::select(., -rule_holds)
6. ├─dplyr::mutate(., `:=`(!!sym(label), rule_holds))
7. ├─attr(rule, "checker")(., rule)
8. ├─processcheckR:::contains_between_checker.log(., rule)
9. │ └─... %>% pull(1)
10. ├─dplyr::pull(., 1)
11. ├─dplyr::filter(...)
12. ├─tidyr::replace_na(., list(n_activity_instances = 0))
13. ├─dplyr::right_join(...)
14. └─dplyr:::right_join.data.frame(...)
15. └─dplyr:::join_mutate(...)
16. ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
17. └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
18. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
19. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
20. ├─base::withCallingHandlers(...)
21. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
── Error ('test_contains_between.R:58:3'): test contains on eventlog with args min = 0, max = 0 ──
Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
Backtrace:
▆
1. ├─patients %>% ... at test_contains_between.R:58:2
2. ├─processcheckR::check_rule(...)
3. ├─processcheckR:::check_rule.log(...)
4. │ └─... %>% select(-rule_holds)
5. ├─dplyr::select(., -rule_holds)
6. ├─dplyr::mutate(., `:=`(!!sym(label), rule_holds))
7. ├─attr(rule, "checker")(., rule)
8. ├─processcheckR:::contains_between_checker.log(., rule)
9. │ └─... %>% pull(1)
10. ├─dplyr::pull(., 1)
11. ├─dplyr::filter(...)
12. ├─tidyr::replace_na(., list(n_activity_instances = 0))
13. ├─dplyr::right_join(...)
14. └─dplyr:::right_join.data.frame(...)
15. └─dplyr:::join_mutate(...)
16. ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
17. └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
18. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
19. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
20. ├─base::withCallingHandlers(...)
21. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
── Error ('test_contains_between.R:95:3'): test contains_between on grouped_eventlog ──
Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
Backtrace:
▆
1. ├─patients_grouped_resource %>% ... at test_contains_between.R:95:2
2. ├─processcheckR::check_rule(...)
3. ├─processcheckR:::check_rule.log(...)
4. │ └─... %>% select(-rule_holds)
5. ├─dplyr::select(., -rule_holds)
6. ├─dplyr::mutate(., `:=`(!!sym(label), rule_holds))
7. ├─attr(rule, "checker")(., rule)
8. ├─processcheckR:::contains_between_checker.grouped_log(., rule)
9. │ └─bupaR:::apply_grouped_fun(...)
10. │ └─log %>% ungroup_eventlog() %>% fun(...)
11. ├─processcheckR (local) fun(., ...)
12. │ └─... %>% pull(1)
13. ├─dplyr::pull(., 1)
14. ├─dplyr::filter(...)
15. ├─tidyr::replace_na(., list(n_activity_instances = 0))
16. ├─dplyr::right_join(...)
17. └─dplyr:::right_join.data.frame(...)
18. └─dplyr:::join_mutate(...)
19. ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
20. └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
21. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
22. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
23. ├─base::withCallingHandlers(...)
24. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
── Error ('test_contains_between.R:116:3'): test contains_between on activitylog with args min = 1, max = 1 ──
Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
Backtrace:
▆
1. ├─patients_act %>% ... at test_contains_between.R:116:2
2. ├─processcheckR::check_rule(...)
3. ├─processcheckR:::check_rule.log(...)
4. │ └─... %>% select(-rule_holds)
5. ├─dplyr::select(., -rule_holds)
6. ├─dplyr::mutate(., `:=`(!!sym(label), rule_holds))
7. ├─attr(rule, "checker")(., rule)
8. ├─processcheckR:::contains_between_checker.log(., rule)
9. │ └─... %>% pull(1)
10. ├─dplyr::pull(., 1)
11. ├─dplyr::filter(...)
12. ├─tidyr::replace_na(., list(n_activity_instances = 0))
13. ├─dplyr::right_join(...)
14. └─dplyr:::right_join.data.frame(...)
15. └─dplyr:::join_mutate(...)
16. ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
17. └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
18. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
19. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
20. ├─base::withCallingHandlers(...)
21. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
── Error ('test_contains_between.R:133:3'): test contains on activitylog with args min > 1, max > 1 ──
Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
Backtrace:
▆
1. ├─patients_act %>% ... at test_contains_between.R:133:2
2. ├─processcheckR::check_rule(...)
3. ├─processcheckR:::check_rule.log(...)
4. │ └─... %>% select(-rule_holds)
5. ├─dplyr::select(., -rule_holds)
6. ├─dplyr::mutate(., `:=`(!!sym(label), rule_holds))
7. ├─attr(rule, "checker")(., rule)
8. ├─processcheckR:::contains_between_checker.log(., rule)
9. │ └─... %>% pull(1)
10. ├─dplyr::pull(., 1)
11. ├─dplyr::filter(...)
12. ├─tidyr::replace_na(., list(n_activity_instances = 0))
13. ├─dplyr::right_join(...)
14. └─dplyr:::right_join.data.frame(...)
15. └─dplyr:::join_mutate(...)
16. ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
17. └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
18. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
19. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
20. ├─base::withCallingHandlers(...)
21. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
── Error ('test_contains_between.R:150:3'): test contains_between on grouped_activitylog ──
Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
Backtrace:
▆
1. ├─patients_act_grouped_resource %>% ... at test_contains_between.R:150:2
2. ├─processcheckR::check_rule(...)
3. ├─processcheckR:::check_rule.log(...)
4. │ └─... %>% select(-rule_holds)
5. ├─dplyr::select(., -rule_holds)
6. ├─dplyr::mutate(., `:=`(!!sym(label), rule_holds))
7. ├─attr(rule, "checker")(., rule)
8. ├─processcheckR:::contains_between_checker.grouped_log(., rule)
9. │ └─bupaR:::apply_grouped_fun(...)
10. │ └─log %>% ungroup_eventlog() %>% fun(...)
11. ├─processcheckR (local) fun(., ...)
12. │ └─... %>% pull(1)
13. ├─dplyr::pull(., 1)
14. ├─dplyr::filter(...)
15. ├─tidyr::replace_na(., list(n_activity_instances = 0))
16. ├─dplyr::right_join(...)
17. └─dplyr:::right_join.data.frame(...)
18. └─dplyr:::join_mutate(...)
19. ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
20. └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
21. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
22. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
23. ├─base::withCallingHandlers(...)
24. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
[ FAIL 8 | WARN 24 | SKIP 0 | PASS 431 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc