Last updated on 2024-10-06 05:49:53 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 23.9.1 | 7.54 | 70.76 | 78.30 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 23.9.1 | 5.24 | 57.94 | 63.18 | OK | |
r-devel-linux-x86_64-fedora-clang | 23.9.1 | 98.01 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 23.9.1 | 127.30 | ERROR | |||
r-devel-windows-x86_64 | 23.9.1 | 8.00 | 87.00 | 95.00 | ERROR | |
r-patched-linux-x86_64 | 23.9.1 | 6.77 | 65.74 | 72.51 | ERROR | |
r-release-linux-x86_64 | 23.9.1 | 6.71 | 66.51 | 73.22 | ERROR | |
r-release-macos-arm64 | 23.9.1 | 43.00 | OK | |||
r-release-macos-x86_64 | 23.9.1 | 69.00 | OK | |||
r-release-windows-x86_64 | 23.9.1 | 10.00 | 95.00 | 105.00 | OK | |
r-oldrel-macos-arm64 | 23.9.1 | 63.00 | OK | |||
r-oldrel-macos-x86_64 | 23.9.1 | 95.00 | OK | |||
r-oldrel-windows-x86_64 | 23.9.1 | 10.00 | 113.00 | 123.00 | ERROR |
Version: 23.9.1
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [7s/8s]
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(stRoke)
>
> test_check("stRoke")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
OBS: as per 2007 not all valid CPR numbers apply to modulus 11 rule.
See the vignette 'Toolbox'
> 2 + 2
[1] 4
> 2 + 2
[1] 4
> 2 + 2
[1] 4
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 109 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-generic_stroke.R:4:3'): generic_stroke() runs! ─────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(.data = .y, stat = as.character(glue::glue(statistic[[.data$variable[1]]],
.envir = cards::get_ard_statistics(.x, .column = "stat_fmt"))))`: i In argument: `stat = as.character(...)`.
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─stRoke::generic_stroke(...) at test-generic_stroke.R:4:3
2. │ ├─gtsummary::add_overall(...)
3. │ │ └─gtsummary:::check_class(x, "gtsummary")
4. │ └─gtsummary::tbl_summary(data = df[, c(group, variables)], by = group)
5. │ ├─base::structure(...)
6. │ ├─base::append(...)
7. │ └─gtsummary::brdg_summary(...)
8. │ ├─dplyr::left_join(...)
9. │ ├─dplyr:::left_join.data.frame(...)
10. │ │ └─dplyr::auto_copy(x, y, copy = copy)
11. │ │ ├─dplyr::same_src(x, y)
12. │ │ └─dplyr:::same_src.data.frame(x, y)
13. │ │ └─base::is.data.frame(y)
14. │ ├─dplyr::bind_rows(...)
15. │ │ └─rlang::list2(...)
16. │ └─gtsummary::pier_summary_continuous(...)
17. │ ├─... %>% ...
18. │ ├─dplyr::bind_rows(...)
19. │ │ └─rlang::list2(...)
20. │ ├─dplyr::group_map(...)
21. │ └─dplyr:::group_map.data.frame(...)
22. │ └─dplyr:::map2(chunks, group_keys, .f, ...)
23. │ └─base::mapply(.f, .x, .y, MoreArgs = list(...), SIMPLIFY = FALSE)
24. │ └─gtsummary (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
25. │ ├─dplyr::mutate(...)
26. │ └─dplyr:::mutate.data.frame(...)
27. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
28. │ ├─base::withCallingHandlers(...)
29. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
30. │ └─mask$eval_all_mutate(quo)
31. │ └─dplyr (local) eval()
32. ├─dplyr::left_join(...)
33. ├─dplyr:::left_join.data.frame(...)
34. │ └─dplyr::auto_copy(x, y, copy = copy)
35. │ ├─dplyr::same_src(x, y)
36. │ └─dplyr:::same_src.data.frame(x, y)
37. │ └─base::is.data.frame(y)
38. ├─glue::glue(...)
39. │ └─glue::glue_data(...)
40. │ └─base::stopifnot(is.environment(.envir))
41. │ └─base::stop(simpleError(msg, call = if (p <- sys.parent(1L)) sys.call(p)))
42. └─dplyr (local) `<fn>`(`<smplErrr>`)
43. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 109 ]
Error: Test failures
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 23.9.1
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘ds2dd.Rmd’ using rmarkdown
--- finished re-building ‘ds2dd.Rmd’
--- re-building ‘toolbox.Rmd’ using rmarkdown
** Processing: /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/stRoke.Rcheck/vign_test/stRoke/vignettes/toolbox_files/figure-html/ci_plot-example-1.png
288x288 pixels, 8 bits/pixel, 255 colors in palette
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 6433 bytes
Input file size = 7288 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 6009
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 5993
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 5993
Output IDAT size = 5993 bytes (440 bytes decrease)
Output file size = 6071 bytes (1217 bytes = 16.70% decrease)
Quitting from lines 114-118 [generic_stroke-example] (toolbox.Rmd)
Error: processing vignette 'toolbox.Rmd' failed with diagnostics:
ℹ In argument: `df_stats = list(...)`.
Caused by error in `dplyr::mutate()`:
ℹ In argument: `stat = map(...)`.
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
--- failed re-building ‘toolbox.Rmd’
SUMMARY: processing the following file failed:
‘toolbox.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 23.9.1
Check: data for non-ASCII characters
Result: NOTE
Note: found 705 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 23.9.1
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [10s/12s]
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(stRoke)
>
> test_check("stRoke")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
OBS: as per 2007 not all valid CPR numbers apply to modulus 11 rule.
See the vignette 'Toolbox'
> 2 + 2
[1] 4
> 2 + 2
[1] 4
> 2 + 2
[1] 4
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 109 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-generic_stroke.R:4:3'): generic_stroke() runs! ─────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(.data = .y, stat = as.character(glue::glue(statistic[[.data$variable[1]]],
.envir = cards::get_ard_statistics(.x, .column = "stat_fmt"))))`: i In argument: `stat = as.character(...)`.
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─stRoke::generic_stroke(...) at test-generic_stroke.R:4:3
2. │ ├─gtsummary::add_overall(...)
3. │ │ └─gtsummary:::check_class(x, "gtsummary")
4. │ └─gtsummary::tbl_summary(data = df[, c(group, variables)], by = group)
5. │ ├─base::structure(...)
6. │ ├─base::append(...)
7. │ └─gtsummary::brdg_summary(...)
8. │ ├─dplyr::left_join(...)
9. │ ├─dplyr:::left_join.data.frame(...)
10. │ │ └─dplyr::auto_copy(x, y, copy = copy)
11. │ │ ├─dplyr::same_src(x, y)
12. │ │ └─dplyr:::same_src.data.frame(x, y)
13. │ │ └─base::is.data.frame(y)
14. │ ├─dplyr::bind_rows(...)
15. │ │ └─rlang::list2(...)
16. │ └─gtsummary::pier_summary_continuous(...)
17. │ ├─... %>% ...
18. │ ├─dplyr::bind_rows(...)
19. │ │ └─rlang::list2(...)
20. │ ├─dplyr::group_map(...)
21. │ └─dplyr:::group_map.data.frame(...)
22. │ └─dplyr:::map2(chunks, group_keys, .f, ...)
23. │ └─base::mapply(.f, .x, .y, MoreArgs = list(...), SIMPLIFY = FALSE)
24. │ └─gtsummary (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
25. │ ├─dplyr::mutate(...)
26. │ └─dplyr:::mutate.data.frame(...)
27. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
28. │ ├─base::withCallingHandlers(...)
29. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
30. │ └─mask$eval_all_mutate(quo)
31. │ └─dplyr (local) eval()
32. ├─dplyr::left_join(...)
33. ├─dplyr:::left_join.data.frame(...)
34. │ └─dplyr::auto_copy(x, y, copy = copy)
35. │ ├─dplyr::same_src(x, y)
36. │ └─dplyr:::same_src.data.frame(x, y)
37. │ └─base::is.data.frame(y)
38. ├─glue::glue(...)
39. │ └─glue::glue_data(...)
40. │ └─base::stopifnot(is.environment(.envir))
41. │ └─base::stop(simpleError(msg, call = if (p <- sys.parent(1L)) sys.call(p)))
42. └─dplyr (local) `<fn>`(`<smplErrr>`)
43. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 109 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 23.9.1
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘ds2dd.Rmd’ using rmarkdown
--- finished re-building ‘ds2dd.Rmd’
--- re-building ‘toolbox.Rmd’ using rmarkdown
** Processing: /data/gannet/ripley/R/packages/tests-devel/stRoke.Rcheck/vign_test/stRoke/vignettes/toolbox_files/figure-html/ci_plot-example-1.png
288x288 pixels, 8 bits/pixel, 255 colors in palette
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 6433 bytes
Input file size = 7288 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 6009
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 5993
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 5993
Output IDAT size = 5993 bytes (440 bytes decrease)
Output file size = 6071 bytes (1217 bytes = 16.70% decrease)
Quitting from lines 114-118 [generic_stroke-example] (toolbox.Rmd)
Error: processing vignette 'toolbox.Rmd' failed with diagnostics:
ℹ In argument: `df_stats = list(...)`.
Caused by error in `dplyr::mutate()`:
ℹ In argument: `stat = map(...)`.
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
--- failed re-building ‘toolbox.Rmd’
SUMMARY: processing the following file failed:
‘toolbox.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 23.9.1
Check: tests
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [6s]
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(stRoke)
>
> test_check("stRoke")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
OBS: as per 2007 not all valid CPR numbers apply to modulus 11 rule.
See the vignette 'Toolbox'
> 2 + 2
[1] 4
> 2 + 2
[1] 4
> 2 + 2
[1] 4
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 109 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-generic_stroke.R:4:3'): generic_stroke() runs! ─────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(.data = .y, stat = as.character(glue::glue(statistic[[.data$variable[1]]],
.envir = cards::get_ard_statistics(.x, .column = "stat_fmt"))))`: i In argument: `stat = as.character(...)`.
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─stRoke::generic_stroke(...) at test-generic_stroke.R:4:3
2. │ ├─gtsummary::add_overall(...)
3. │ │ └─gtsummary:::check_class(x, "gtsummary")
4. │ └─gtsummary::tbl_summary(data = df[, c(group, variables)], by = group)
5. │ ├─base::structure(...)
6. │ ├─base::append(...)
7. │ └─gtsummary::brdg_summary(...)
8. │ ├─dplyr::left_join(...)
9. │ ├─dplyr:::left_join.data.frame(...)
10. │ │ └─dplyr::auto_copy(x, y, copy = copy)
11. │ │ ├─dplyr::same_src(x, y)
12. │ │ └─dplyr:::same_src.data.frame(x, y)
13. │ │ └─base::is.data.frame(y)
14. │ ├─dplyr::bind_rows(...)
15. │ │ └─rlang::list2(...)
16. │ └─gtsummary::pier_summary_continuous(...)
17. │ ├─... %>% ...
18. │ ├─dplyr::bind_rows(...)
19. │ │ └─rlang::list2(...)
20. │ ├─dplyr::group_map(...)
21. │ └─dplyr:::group_map.data.frame(...)
22. │ └─dplyr:::map2(chunks, group_keys, .f, ...)
23. │ └─base::mapply(.f, .x, .y, MoreArgs = list(...), SIMPLIFY = FALSE)
24. │ └─gtsummary (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
25. │ ├─dplyr::mutate(...)
26. │ └─dplyr:::mutate.data.frame(...)
27. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
28. │ ├─base::withCallingHandlers(...)
29. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
30. │ └─mask$eval_all_mutate(quo)
31. │ └─dplyr (local) eval()
32. ├─dplyr::left_join(...)
33. ├─dplyr:::left_join.data.frame(...)
34. │ └─dplyr::auto_copy(x, y, copy = copy)
35. │ ├─dplyr::same_src(x, y)
36. │ └─dplyr:::same_src.data.frame(x, y)
37. │ └─base::is.data.frame(y)
38. ├─glue::glue(...)
39. │ └─glue::glue_data(...)
40. │ └─base::stopifnot(is.environment(.envir))
41. │ └─base::stop(simpleError(msg, call = if (p <- sys.parent(1L)) sys.call(p)))
42. └─dplyr (local) `<fn>`(`<smplErrr>`)
43. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 109 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 23.9.1
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'ds2dd.Rmd' using rmarkdown
--- finished re-building 'ds2dd.Rmd'
--- re-building 'toolbox.Rmd' using rmarkdown
Quitting from lines 114-118 [generic_stroke-example] (toolbox.Rmd)
Error: processing vignette 'toolbox.Rmd' failed with diagnostics:
ℹ In argument: `df_stats = list(...)`.
Caused by error in `dplyr::mutate()`:
ℹ In argument: `stat = map(...)`.
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
--- failed re-building 'toolbox.Rmd'
SUMMARY: processing the following file failed:
'toolbox.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-windows-x86_64, r-oldrel-windows-x86_64
Version: 23.9.1
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘ds2dd.Rmd’ using rmarkdown
--- finished re-building ‘ds2dd.Rmd’
--- re-building ‘toolbox.Rmd’ using rmarkdown
** Processing: /home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/stRoke.Rcheck/vign_test/stRoke/vignettes/toolbox_files/figure-html/ci_plot-example-1.png
288x288 pixels, 8 bits/pixel, 255 colors in palette
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 6433 bytes
Input file size = 7288 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 6009
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 5993
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 5993
Output IDAT size = 5993 bytes (440 bytes decrease)
Output file size = 6071 bytes (1217 bytes = 16.70% decrease)
Quitting from lines 114-118 [generic_stroke-example] (toolbox.Rmd)
Error: processing vignette 'toolbox.Rmd' failed with diagnostics:
ℹ In argument: `df_stats = list(...)`.
Caused by error in `dplyr::mutate()`:
ℹ In argument: `stat = map(...)`.
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
--- failed re-building ‘toolbox.Rmd’
SUMMARY: processing the following file failed:
‘toolbox.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-patched-linux-x86_64
Version: 23.9.1
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘ds2dd.Rmd’ using rmarkdown
--- finished re-building ‘ds2dd.Rmd’
--- re-building ‘toolbox.Rmd’ using rmarkdown
** Processing: /home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/stRoke.Rcheck/vign_test/stRoke/vignettes/toolbox_files/figure-html/ci_plot-example-1.png
288x288 pixels, 8 bits/pixel, 255 colors in palette
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 6433 bytes
Input file size = 7288 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 6009
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 5993
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 5993
Output IDAT size = 5993 bytes (440 bytes decrease)
Output file size = 6071 bytes (1217 bytes = 16.70% decrease)
Quitting from lines 114-118 [generic_stroke-example] (toolbox.Rmd)
Error: processing vignette 'toolbox.Rmd' failed with diagnostics:
ℹ In argument: `df_stats = list(...)`.
Caused by error in `dplyr::mutate()`:
ℹ In argument: `stat = map(...)`.
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
--- failed re-building ‘toolbox.Rmd’
SUMMARY: processing the following file failed:
‘toolbox.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-release-linux-x86_64
Version: 23.9.1
Check: tests
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [9s]
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(stRoke)
>
> test_check("stRoke")
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
Waiting for profiling to be done...
OBS: as per 2007 not all valid CPR numbers apply to modulus 11 rule.
See the vignette 'Toolbox'
> 2 + 2
[1] 4
> 2 + 2
[1] 4
> 2 + 2
[1] 4
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 109 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-generic_stroke.R:4:3'): generic_stroke() runs! ─────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(.data = .y, stat = as.character(glue::glue(statistic[[.data$variable[1]]],
.envir = cards::get_ard_statistics(.x, .column = "stat_fmt"))))`: i In argument: `stat = as.character(...)`.
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─stRoke::generic_stroke(...) at test-generic_stroke.R:4:3
2. │ ├─gtsummary::add_overall(...)
3. │ │ └─gtsummary:::check_class(x, "gtsummary")
4. │ └─gtsummary::tbl_summary(data = df[, c(group, variables)], by = group)
5. │ ├─base::structure(...)
6. │ ├─base::append(...)
7. │ └─gtsummary::brdg_summary(...)
8. │ ├─dplyr::left_join(...)
9. │ ├─dplyr:::left_join.data.frame(...)
10. │ │ └─dplyr::auto_copy(x, y, copy = copy)
11. │ │ ├─dplyr::same_src(x, y)
12. │ │ └─dplyr:::same_src.data.frame(x, y)
13. │ │ └─base::is.data.frame(y)
14. │ ├─dplyr::bind_rows(...)
15. │ │ └─rlang::list2(...)
16. │ └─gtsummary::pier_summary_continuous(...)
17. │ ├─... %>% ...
18. │ ├─dplyr::bind_rows(...)
19. │ │ └─rlang::list2(...)
20. │ ├─dplyr::group_map(...)
21. │ └─dplyr:::group_map.data.frame(...)
22. │ └─dplyr:::map2(chunks, group_keys, .f, ...)
23. │ └─base::mapply(.f, .x, .y, MoreArgs = list(...), SIMPLIFY = FALSE)
24. │ └─gtsummary (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
25. │ ├─dplyr::mutate(...)
26. │ └─dplyr:::mutate.data.frame(...)
27. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
28. │ ├─base::withCallingHandlers(...)
29. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
30. │ └─mask$eval_all_mutate(quo)
31. │ └─dplyr (local) eval()
32. ├─dplyr::left_join(...)
33. ├─dplyr:::left_join.data.frame(...)
34. │ └─dplyr::auto_copy(x, y, copy = copy)
35. │ ├─dplyr::same_src(x, y)
36. │ └─dplyr:::same_src.data.frame(x, y)
37. │ └─base::is.data.frame(y)
38. ├─glue::glue(...)
39. │ └─glue::glue_data(...)
40. │ └─base::stopifnot(is.environment(.envir))
41. │ └─base::stop(simpleError(msg, call = if (p <- sys.parent(1L)) sys.call(p)))
42. └─dplyr (local) `<fn>`(`<smplErrr>`)
43. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 109 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64