Last updated on 2024-08-16 12:49:22 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.0 | 10.94 | 94.30 | 105.24 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.0.0 | 7.57 | 66.11 | 73.68 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.0.0 | 166.42 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.0 | 184.92 | OK | |||
r-devel-windows-x86_64 | 1.0.0 | 11.00 | 100.00 | 111.00 | ERROR | |
r-patched-linux-x86_64 | 1.0.0 | 10.80 | 88.13 | 98.93 | ERROR | |
r-release-linux-x86_64 | 1.0.0 | 7.55 | 88.83 | 96.38 | ERROR | |
r-release-macos-arm64 | 1.0.0 | 54.00 | OK | |||
r-release-macos-x86_64 | 1.0.0 | 79.00 | OK | |||
r-release-windows-x86_64 | 1.0.0 | 10.00 | 107.00 | 117.00 | ERROR | |
r-oldrel-macos-arm64 | 1.0.0 | 87.00 | OK | |||
r-oldrel-macos-x86_64 | 1.0.0 | 114.00 | OK | |||
r-oldrel-windows-x86_64 | 1.0.0 | 10.00 | 114.00 | 124.00 | ERROR |
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [14s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tidycmprsk)
>
> test_check("tidycmprsk")
11 cases omitted due to missing values
-- crr() -----------------------------------------------------------------------
* Call Surv(ttdeath, death_cr) ~ age
* Failure type of interest "death from cancer"
Variable Coef SE HR 95% CI p-value
age 0.006 0.010 1.01 0.99, 1.03 0.55
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
x There was an error evaluating the LHS of the formula.
-- cuminc() --------------------------------------------------------------------
* Failure type "death from cancer"
strata time n.risk estimate std.error 95% CI
Drug A 5.00 97 0.000 0.000 NA, NA
Drug A 10.0 94 0.020 0.014 0.004, 0.065
Drug A 15.0 83 0.071 0.026 0.031, 0.134
Drug A 20.0 61 0.173 0.039 0.106, 0.255
Drug B 5.00 102 0.000 0.000 NA, NA
Drug B 10.0 95 0.039 0.019 0.013, 0.090
Drug B 15.0 75 0.167 0.037 0.102, 0.246
Drug B 20.0 55 0.255 0.043 0.175, 0.343
* Failure type "death other causes"
strata time n.risk estimate std.error 95% CI
Drug A 5.00 97 0.010 0.010 0.001, 0.050
Drug A 10.0 94 0.020 0.014 0.004, 0.065
Drug A 15.0 83 0.082 0.028 0.038, 0.147
Drug A 20.0 61 0.204 0.041 0.131, 0.289
Drug B 5.00 102 0.000 0.000 NA, NA
Drug B 10.0 95 0.029 0.017 0.008, 0.077
Drug B 15.0 75 0.098 0.030 0.050, 0.165
Drug B 20.0 55 0.206 0.040 0.133, 0.289
* Tests
outcome statistic df p.value
death from cancer 1.99 1.00 0.16
death other causes 0.089 1.00 0.77
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
[ FAIL 6 | WARN 0 | SKIP 1 | PASS 92 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-tbl_cuminc.R:30:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-gtsummary.R:2:3'): gtsummary tables work with crr() output ───
`crr(Surv(ttdeath, death_cr) ~ age + trt, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:2:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ age + trt, trial) %>% ...
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:7:3'): gtsummary tables work with crr() output ───
``%>%`(...)` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:7:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─... %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:12:3'): gtsummary tables work with crr() output ──
`crr(Surv(ttdeath, death_cr) ~ age, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:12:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ age, trial) %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:17:3'): gtsummary tables work with crr() output ──
`crr(Surv(ttdeath, death_cr) ~ trt, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:17:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ trt, trial) %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:29:3'): gtsummary tables work with crr() output ──
`... <- NULL` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:29:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ grade, trial_contr) %>% ...
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Error ('test-gtsummary.R:35:3'): gtsummary tables work with crr() output ────
Error in `eval(code, test_env)`: object 'contr_sum' not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-gtsummary.R:35:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─base::unique(contr_sum$table_body$contrasts_type)
[ FAIL 6 | WARN 0 | SKIP 1 | PASS 92 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [9s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tidycmprsk)
>
> test_check("tidycmprsk")
11 cases omitted due to missing values
-- crr() -----------------------------------------------------------------------
* Call Surv(ttdeath, death_cr) ~ age
* Failure type of interest "death from cancer"
Variable Coef SE HR 95% CI p-value
age 0.006 0.010 1.01 0.99, 1.03 0.55
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
x There was an error evaluating the LHS of the formula.
-- cuminc() --------------------------------------------------------------------
* Failure type "death from cancer"
strata time n.risk estimate std.error 95% CI
Drug A 5.00 97 0.000 0.000 NA, NA
Drug A 10.0 94 0.020 0.014 0.004, 0.065
Drug A 15.0 83 0.071 0.026 0.031, 0.134
Drug A 20.0 61 0.173 0.039 0.106, 0.255
Drug B 5.00 102 0.000 0.000 NA, NA
Drug B 10.0 95 0.039 0.019 0.013, 0.090
Drug B 15.0 75 0.167 0.037 0.102, 0.246
Drug B 20.0 55 0.255 0.043 0.175, 0.343
* Failure type "death other causes"
strata time n.risk estimate std.error 95% CI
Drug A 5.00 97 0.010 0.010 0.001, 0.050
Drug A 10.0 94 0.020 0.014 0.004, 0.065
Drug A 15.0 83 0.082 0.028 0.038, 0.147
Drug A 20.0 61 0.204 0.041 0.131, 0.289
Drug B 5.00 102 0.000 0.000 NA, NA
Drug B 10.0 95 0.029 0.017 0.008, 0.077
Drug B 15.0 75 0.098 0.030 0.050, 0.165
Drug B 20.0 55 0.206 0.040 0.133, 0.289
* Tests
outcome statistic df p.value
death from cancer 1.99 1.00 0.16
death other causes 0.089 1.00 0.77
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
[ FAIL 6 | WARN 0 | SKIP 1 | PASS 92 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-tbl_cuminc.R:30:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-gtsummary.R:2:3'): gtsummary tables work with crr() output ───
`crr(Surv(ttdeath, death_cr) ~ age + trt, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:2:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ age + trt, trial) %>% ...
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:7:3'): gtsummary tables work with crr() output ───
``%>%`(...)` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:7:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─... %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:12:3'): gtsummary tables work with crr() output ──
`crr(Surv(ttdeath, death_cr) ~ age, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:12:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ age, trial) %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:17:3'): gtsummary tables work with crr() output ──
`crr(Surv(ttdeath, death_cr) ~ trt, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:17:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ trt, trial) %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:29:3'): gtsummary tables work with crr() output ──
`... <- NULL` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:29:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ grade, trial_contr) %>% ...
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Error ('test-gtsummary.R:35:3'): gtsummary tables work with crr() output ────
Error in `eval(code, test_env)`: object 'contr_sum' not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-gtsummary.R:35:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─base::unique(contr_sum$table_body$contrasts_type)
[ FAIL 6 | WARN 0 | SKIP 1 | PASS 92 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [22s/29s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tidycmprsk)
>
> test_check("tidycmprsk")
11 cases omitted due to missing values
-- crr() -----------------------------------------------------------------------
* Call Surv(ttdeath, death_cr) ~ age
* Failure type of interest "death from cancer"
Variable Coef SE HR 95% CI p-value
age 0.006 0.010 1.01 0.99, 1.03 0.55
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
x There was an error evaluating the LHS of the formula.
-- cuminc() --------------------------------------------------------------------
* Failure type "death from cancer"
strata time n.risk estimate std.error 95% CI
Drug A 5.00 97 0.000 0.000 NA, NA
Drug A 10.0 94 0.020 0.014 0.004, 0.065
Drug A 15.0 83 0.071 0.026 0.031, 0.134
Drug A 20.0 61 0.173 0.039 0.106, 0.255
Drug B 5.00 102 0.000 0.000 NA, NA
Drug B 10.0 95 0.039 0.019 0.013, 0.090
Drug B 15.0 75 0.167 0.037 0.102, 0.246
Drug B 20.0 55 0.255 0.043 0.175, 0.343
* Failure type "death other causes"
strata time n.risk estimate std.error 95% CI
Drug A 5.00 97 0.010 0.010 0.001, 0.050
Drug A 10.0 94 0.020 0.014 0.004, 0.065
Drug A 15.0 83 0.082 0.028 0.038, 0.147
Drug A 20.0 61 0.204 0.041 0.131, 0.289
Drug B 5.00 102 0.000 0.000 NA, NA
Drug B 10.0 95 0.029 0.017 0.008, 0.077
Drug B 15.0 75 0.098 0.030 0.050, 0.165
Drug B 20.0 55 0.206 0.040 0.133, 0.289
* Tests
outcome statistic df p.value
death from cancer 1.99 1.00 0.16
death other causes 0.089 1.00 0.77
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
[ FAIL 6 | WARN 0 | SKIP 1 | PASS 92 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-tbl_cuminc.R:30:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-gtsummary.R:2:3'): gtsummary tables work with crr() output ───
`crr(Surv(ttdeath, death_cr) ~ age + trt, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:2:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ age + trt, trial) %>% ...
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:7:3'): gtsummary tables work with crr() output ───
``%>%`(...)` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:7:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─... %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:12:3'): gtsummary tables work with crr() output ──
`crr(Surv(ttdeath, death_cr) ~ age, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:12:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ age, trial) %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:17:3'): gtsummary tables work with crr() output ──
`crr(Surv(ttdeath, death_cr) ~ trt, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:17:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ trt, trial) %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:29:3'): gtsummary tables work with crr() output ──
`... <- NULL` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:29:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ grade, trial_contr) %>% ...
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Error ('test-gtsummary.R:35:3'): gtsummary tables work with crr() output ────
Error in `eval(code, test_env)`: object 'contr_sum' not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-gtsummary.R:35:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─base::unique(contr_sum$table_body$contrasts_type)
[ FAIL 6 | WARN 0 | SKIP 1 | PASS 92 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.0.0
Check: tests
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [11s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(tidycmprsk)
>
> test_check("tidycmprsk")
11 cases omitted due to missing values
-- crr() -----------------------------------------------------------------------
* Call Surv(ttdeath, death_cr) ~ age
* Failure type of interest "death from cancer"
Variable Coef SE HR 95% CI p-value
age 0.006 0.010 1.01 0.99, 1.03 0.55
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
x There was an error evaluating the LHS of the formula.
-- cuminc() --------------------------------------------------------------------
* Failure type "death from cancer"
strata time n.risk estimate std.error 95% CI
Drug A 5.00 97 0.000 0.000 NA, NA
Drug A 10.0 94 0.020 0.014 0.004, 0.065
Drug A 15.0 83 0.071 0.026 0.031, 0.134
Drug A 20.0 61 0.173 0.039 0.106, 0.255
Drug B 5.00 102 0.000 0.000 NA, NA
Drug B 10.0 95 0.039 0.019 0.013, 0.090
Drug B 15.0 75 0.167 0.037 0.102, 0.246
Drug B 20.0 55 0.255 0.043 0.175, 0.343
* Failure type "death other causes"
strata time n.risk estimate std.error 95% CI
Drug A 5.00 97 0.010 0.010 0.001, 0.050
Drug A 10.0 94 0.020 0.014 0.004, 0.065
Drug A 15.0 83 0.082 0.028 0.038, 0.147
Drug A 20.0 61 0.204 0.041 0.131, 0.289
Drug B 5.00 102 0.000 0.000 NA, NA
Drug B 10.0 95 0.029 0.017 0.008, 0.077
Drug B 15.0 75 0.098 0.030 0.050, 0.165
Drug B 20.0 55 0.206 0.040 0.133, 0.289
* Tests
outcome statistic df p.value
death from cancer 1.99 1.00 0.16
death other causes 0.089 1.00 0.77
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
[ FAIL 6 | WARN 0 | SKIP 1 | PASS 92 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-tbl_cuminc.R:30:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-gtsummary.R:2:3'): gtsummary tables work with crr() output ───
`crr(Surv(ttdeath, death_cr) ~ age + trt, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:2:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ age + trt, trial) %>% ...
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:7:3'): gtsummary tables work with crr() output ───
``%>%`(...)` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:7:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─... %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:12:3'): gtsummary tables work with crr() output ──
`crr(Surv(ttdeath, death_cr) ~ age, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:12:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ age, trial) %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:17:3'): gtsummary tables work with crr() output ──
`crr(Surv(ttdeath, death_cr) ~ trt, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:17:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ trt, trial) %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:29:3'): gtsummary tables work with crr() output ──
`... <- NULL` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:29:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ grade, trial_contr) %>% ...
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Error ('test-gtsummary.R:35:3'): gtsummary tables work with crr() output ────
Error in `eval(code, test_env)`: object 'contr_sum' not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-gtsummary.R:35:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─base::unique(contr_sum$table_body$contrasts_type)
[ FAIL 6 | WARN 0 | SKIP 1 | PASS 92 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [13s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tidycmprsk)
>
> test_check("tidycmprsk")
11 cases omitted due to missing values
-- crr() -----------------------------------------------------------------------
* Call Surv(ttdeath, death_cr) ~ age
* Failure type of interest "death from cancer"
Variable Coef SE HR 95% CI p-value
age 0.006 0.010 1.01 0.99, 1.03 0.55
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
x There was an error evaluating the LHS of the formula.
-- cuminc() --------------------------------------------------------------------
* Failure type "death from cancer"
strata time n.risk estimate std.error 95% CI
Drug A 5.00 97 0.000 0.000 NA, NA
Drug A 10.0 94 0.020 0.014 0.004, 0.065
Drug A 15.0 83 0.071 0.026 0.031, 0.134
Drug A 20.0 61 0.173 0.039 0.106, 0.255
Drug B 5.00 102 0.000 0.000 NA, NA
Drug B 10.0 95 0.039 0.019 0.013, 0.090
Drug B 15.0 75 0.167 0.037 0.102, 0.246
Drug B 20.0 55 0.255 0.043 0.175, 0.343
* Failure type "death other causes"
strata time n.risk estimate std.error 95% CI
Drug A 5.00 97 0.010 0.010 0.001, 0.050
Drug A 10.0 94 0.020 0.014 0.004, 0.065
Drug A 15.0 83 0.082 0.028 0.038, 0.147
Drug A 20.0 61 0.204 0.041 0.131, 0.289
Drug B 5.00 102 0.000 0.000 NA, NA
Drug B 10.0 95 0.029 0.017 0.008, 0.077
Drug B 15.0 75 0.098 0.030 0.050, 0.165
Drug B 20.0 55 0.206 0.040 0.133, 0.289
* Tests
outcome statistic df p.value
death from cancer 1.99 1.00 0.16
death other causes 0.089 1.00 0.77
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
[ FAIL 6 | WARN 0 | SKIP 1 | PASS 92 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-tbl_cuminc.R:30:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-gtsummary.R:2:3'): gtsummary tables work with crr() output ───
`crr(Surv(ttdeath, death_cr) ~ age + trt, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:2:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ age + trt, trial) %>% ...
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:7:3'): gtsummary tables work with crr() output ───
``%>%`(...)` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:7:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─... %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:12:3'): gtsummary tables work with crr() output ──
`crr(Surv(ttdeath, death_cr) ~ age, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:12:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ age, trial) %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:17:3'): gtsummary tables work with crr() output ──
`crr(Surv(ttdeath, death_cr) ~ trt, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:17:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ trt, trial) %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:29:3'): gtsummary tables work with crr() output ──
`... <- NULL` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:29:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ grade, trial_contr) %>% ...
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Error ('test-gtsummary.R:35:3'): gtsummary tables work with crr() output ────
Error in `eval(code, test_env)`: object 'contr_sum' not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-gtsummary.R:35:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─base::unique(contr_sum$table_body$contrasts_type)
[ FAIL 6 | WARN 0 | SKIP 1 | PASS 92 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [13s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tidycmprsk)
>
> test_check("tidycmprsk")
11 cases omitted due to missing values
-- crr() -----------------------------------------------------------------------
* Call Surv(ttdeath, death_cr) ~ age
* Failure type of interest "death from cancer"
Variable Coef SE HR 95% CI p-value
age 0.006 0.010 1.01 0.99, 1.03 0.55
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
x There was an error evaluating the LHS of the formula.
-- cuminc() --------------------------------------------------------------------
* Failure type "death from cancer"
strata time n.risk estimate std.error 95% CI
Drug A 5.00 97 0.000 0.000 NA, NA
Drug A 10.0 94 0.020 0.014 0.004, 0.065
Drug A 15.0 83 0.071 0.026 0.031, 0.134
Drug A 20.0 61 0.173 0.039 0.106, 0.255
Drug B 5.00 102 0.000 0.000 NA, NA
Drug B 10.0 95 0.039 0.019 0.013, 0.090
Drug B 15.0 75 0.167 0.037 0.102, 0.246
Drug B 20.0 55 0.255 0.043 0.175, 0.343
* Failure type "death other causes"
strata time n.risk estimate std.error 95% CI
Drug A 5.00 97 0.010 0.010 0.001, 0.050
Drug A 10.0 94 0.020 0.014 0.004, 0.065
Drug A 15.0 83 0.082 0.028 0.038, 0.147
Drug A 20.0 61 0.204 0.041 0.131, 0.289
Drug B 5.00 102 0.000 0.000 NA, NA
Drug B 10.0 95 0.029 0.017 0.008, 0.077
Drug B 15.0 75 0.098 0.030 0.050, 0.165
Drug B 20.0 55 0.206 0.040 0.133, 0.289
* Tests
outcome statistic df p.value
death from cancer 1.99 1.00 0.16
death other causes 0.089 1.00 0.77
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
[ FAIL 6 | WARN 0 | SKIP 1 | PASS 92 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-tbl_cuminc.R:30:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-gtsummary.R:2:3'): gtsummary tables work with crr() output ───
`crr(Surv(ttdeath, death_cr) ~ age + trt, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:2:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ age + trt, trial) %>% ...
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:7:3'): gtsummary tables work with crr() output ───
``%>%`(...)` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:7:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─... %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:12:3'): gtsummary tables work with crr() output ──
`crr(Surv(ttdeath, death_cr) ~ age, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:12:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ age, trial) %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:17:3'): gtsummary tables work with crr() output ──
`crr(Surv(ttdeath, death_cr) ~ trt, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:17:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ trt, trial) %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:29:3'): gtsummary tables work with crr() output ──
`... <- NULL` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:29:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ grade, trial_contr) %>% ...
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Error ('test-gtsummary.R:35:3'): gtsummary tables work with crr() output ────
Error in `eval(code, test_env)`: object 'contr_sum' not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-gtsummary.R:35:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─base::unique(contr_sum$table_body$contrasts_type)
[ FAIL 6 | WARN 0 | SKIP 1 | PASS 92 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.0.0
Check: tests
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(tidycmprsk)
>
> test_check("tidycmprsk")
11 cases omitted due to missing values
-- crr() -----------------------------------------------------------------------
* Call Surv(ttdeath, death_cr) ~ age
* Failure type of interest "death from cancer"
Variable Coef SE HR 95% CI p-value
age 0.006 0.010 1.01 0.99, 1.03 0.55
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
x There was an error evaluating the LHS of the formula.
-- cuminc() --------------------------------------------------------------------
* Failure type "death from cancer"
strata time n.risk estimate std.error 95% CI
Drug A 5.00 97 0.000 0.000 NA, NA
Drug A 10.0 94 0.020 0.014 0.004, 0.065
Drug A 15.0 83 0.071 0.026 0.031, 0.134
Drug A 20.0 61 0.173 0.039 0.106, 0.255
Drug B 5.00 102 0.000 0.000 NA, NA
Drug B 10.0 95 0.039 0.019 0.013, 0.090
Drug B 15.0 75 0.167 0.037 0.102, 0.246
Drug B 20.0 55 0.255 0.043 0.175, 0.343
* Failure type "death other causes"
strata time n.risk estimate std.error 95% CI
Drug A 5.00 97 0.010 0.010 0.001, 0.050
Drug A 10.0 94 0.020 0.014 0.004, 0.065
Drug A 15.0 83 0.082 0.028 0.038, 0.147
Drug A 20.0 61 0.204 0.041 0.131, 0.289
Drug B 5.00 102 0.000 0.000 NA, NA
Drug B 10.0 95 0.029 0.017 0.008, 0.077
Drug B 15.0 75 0.098 0.030 0.050, 0.165
Drug B 20.0 55 0.206 0.040 0.133, 0.289
* Tests
outcome statistic df p.value
death from cancer 1.99 1.00 0.16
death other causes 0.089 1.00 0.77
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
[ FAIL 6 | WARN 0 | SKIP 1 | PASS 92 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-tbl_cuminc.R:30:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-gtsummary.R:2:3'): gtsummary tables work with crr() output ───
`crr(Surv(ttdeath, death_cr) ~ age + trt, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:2:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ age + trt, trial) %>% ...
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:7:3'): gtsummary tables work with crr() output ───
``%>%`(...)` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:7:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─... %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:12:3'): gtsummary tables work with crr() output ──
`crr(Surv(ttdeath, death_cr) ~ age, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:12:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ age, trial) %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:17:3'): gtsummary tables work with crr() output ──
`crr(Surv(ttdeath, death_cr) ~ trt, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:17:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ trt, trial) %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:29:3'): gtsummary tables work with crr() output ──
`... <- NULL` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:29:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ grade, trial_contr) %>% ...
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Error ('test-gtsummary.R:35:3'): gtsummary tables work with crr() output ────
Error in `eval(code, test_env)`: object 'contr_sum' not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-gtsummary.R:35:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─base::unique(contr_sum$table_body$contrasts_type)
[ FAIL 6 | WARN 0 | SKIP 1 | PASS 92 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
Version: 1.0.0
Check: tests
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [14s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(tidycmprsk)
>
> test_check("tidycmprsk")
11 cases omitted due to missing values
-- crr() -----------------------------------------------------------------------
* Call Surv(ttdeath, death_cr) ~ age
* Failure type of interest "death from cancer"
Variable Coef SE HR 95% CI p-value
age 0.006 0.010 1.01 0.99, 1.03 0.55
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
11 cases omitted due to missing values
x There was an error evaluating the LHS of the formula.
-- cuminc() --------------------------------------------------------------------
* Failure type "death from cancer"
strata time n.risk estimate std.error 95% CI
Drug A 5.00 97 0.000 0.000 NA, NA
Drug A 10.0 94 0.020 0.014 0.004, 0.065
Drug A 15.0 83 0.071 0.026 0.031, 0.134
Drug A 20.0 61 0.173 0.039 0.106, 0.255
Drug B 5.00 102 0.000 0.000 NA, NA
Drug B 10.0 95 0.039 0.019 0.013, 0.090
Drug B 15.0 75 0.167 0.037 0.102, 0.246
Drug B 20.0 55 0.255 0.043 0.175, 0.343
* Failure type "death other causes"
strata time n.risk estimate std.error 95% CI
Drug A 5.00 97 0.010 0.010 0.001, 0.050
Drug A 10.0 94 0.020 0.014 0.004, 0.065
Drug A 15.0 83 0.082 0.028 0.038, 0.147
Drug A 20.0 61 0.204 0.041 0.131, 0.289
Drug B 5.00 102 0.000 0.000 NA, NA
Drug B 10.0 95 0.029 0.017 0.008, 0.077
Drug B 15.0 75 0.098 0.030 0.050, 0.165
Drug B 20.0 55 0.206 0.040 0.133, 0.289
* Tests
outcome statistic df p.value
death from cancer 1.99 1.00 0.16
death other causes 0.089 1.00 0.77
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
[ FAIL 6 | WARN 0 | SKIP 1 | PASS 92 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-tbl_cuminc.R:30:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-gtsummary.R:2:3'): gtsummary tables work with crr() output ───
`crr(Surv(ttdeath, death_cr) ~ age + trt, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:2:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ age + trt, trial) %>% ...
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:7:3'): gtsummary tables work with crr() output ───
``%>%`(...)` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:7:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─... %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:12:3'): gtsummary tables work with crr() output ──
`crr(Surv(ttdeath, death_cr) ~ age, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:12:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ age, trial) %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:17:3'): gtsummary tables work with crr() output ──
`crr(Surv(ttdeath, death_cr) ~ trt, trial) %>% gtsummary::tbl_regression()` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:17:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ trt, trial) %>% gtsummary::tbl_regression()
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Failure ('test-gtsummary.R:29:3'): gtsummary tables work with crr() output ──
`... <- NULL` threw an unexpected error.
Message: The package "broom.helpers" (>= 1.15.0) is required.
Class: rlib_error_package_not_found/rlang_error/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-gtsummary.R:29:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─crr(Surv(ttdeath, death_cr) ~ grade, trial_contr) %>% ...
8. └─gtsummary::tbl_regression(.)
9. └─gtsummary:::check_pkg_installed(...)
10. ├─base::suppressWarnings(...)
11. │ └─base::withCallingHandlers(...)
12. └─rlang::check_installed(...)
── Error ('test-gtsummary.R:35:3'): gtsummary tables work with crr() output ────
Error in `eval(code, test_env)`: object 'contr_sum' not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-gtsummary.R:35:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─base::unique(contr_sum$table_body$contrasts_type)
[ FAIL 6 | WARN 0 | SKIP 1 | PASS 92 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64