Last updated on 2026-04-25 09:50:12 CEST.
| Package | ERROR | OK |
|---|---|---|
| cards | 12 | |
| cardx | 12 | |
| dcurves | 1 | 11 |
| ggsurvfit | 1 | 11 |
| gtsummary | 1 | 11 |
| rstudio.prefs | 12 | |
| starter | 12 | |
| tidycmprsk | 12 | |
| updater | 12 |
Current CRAN status: OK: 12
Current CRAN status: OK: 12
Current CRAN status: ERROR: 1, OK: 11
Version: 0.5.1
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘dca.Rmd’ using rmarkdown
Quitting from dca.Rmd:18-21 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `library()`:
! there is no package called 'gtsummary'
---
Backtrace:
▆
1. └─base::library(gtsummary)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'dca.Rmd' failed with diagnostics:
there is no package called 'gtsummary'
--- failed re-building ‘dca.Rmd’
SUMMARY: processing the following file failed:
‘dca.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-release-macos-x86_64
Current CRAN status: ERROR: 1, OK: 11
Version: 1.2.0
Check: examples
Result: ERROR
Running examples in ‘ggsurvfit-Ex.R’ failed
The error most likely occurred in:
> ### Name: ggsurvfit_options
> ### Title: Global Options
> ### Aliases: ggsurvfit_options
>
> ### ** Examples
>
> options("ggsurvfit.switch-color-linetype" = TRUE)
> library(tidycmprsk)
Error in library(tidycmprsk) : there is no package called ‘tidycmprsk’
Execution halted
Flavor: r-release-macos-x86_64
Version: 1.2.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [97s/180s]
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(ggsurvfit)
Loading required package: ggplot2
>
> test_check("ggsurvfit")
Saving _problems/test-add_legend_title-62.R
Saving _problems/test-add_legend_title-66.R
! `add_pvalue()` works with objects created with `survfit2()` or `tidycmprsk::cuminc()`.
i `add_pvalue()` has been ignored.
Saving _problems/test-add_pvalue-44.R
Saving _problems/test-ggsurvfit_options-10.R
Saving _problems/test-ggsurvfit_options-11.R
Saving _problems/test-ggsurvfit_options-20.R
Saving _problems/test-ggsurvfit_options-21.R
Saving _problems/test-ggsurvfit_options-30.R
Saving _problems/test-ggsurvfit_options-31.R
Saving _problems/test-ggsurvfit_options-41.R
Saving _problems/test-ggsurvfit_options-42.R
Saving _problems/test-ggsurvfit_options-45.R
Saving 7 x 7 in image
Saving 7 x 7 in image
Saving _problems/test-grid.draw_ggsurvfit-25.R
! Setting start time to -499.835728952772.
i Specify `ggsurvfit::survfit2(start.time)` to override this default.
[ FAIL 13 | WARN 0 | SKIP 22 | PASS 192 ]
══ Skipped tests (22) ══════════════════════════════════════════════════════════
• On CRAN (13): 'test-add_censor_mark.R:5:1',
'test-add_confidence_interval.R:5:1', 'test-add_pvalue.R:76:1',
'test-add_quantile.R:5:1', 'test-add_risktable.R:5:1',
'test-add_risktable_strata_symbol.R:1:1', 'test-ggsurvfit.R:5:1',
'test-ggsurvfit.R:142:1', 'test-ggsurvfit.R:188:1',
'test-stat_stepribbon.R:1:1', 'test-survfit2_p.R:31:1',
'test-theme_risktable.R:5:1', 'test-tidy_survfit.R:209:1'
• {tidycmprsk} is not installed. (9): 'test-add_censor_mark.R:29:1',
'test-add_confidence_interval.R:50:1', 'test-add_pvalue.R:47:3',
'test-add_quantile.R:145:1', 'test-add_risktable.R:146:1',
'test-ggcuminc.R:1:1', 'test-tidy_cuminc.R:1:1', 'test-tidy_survfit.R:133:3',
'test-tidy_survfit.R:232:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-add_legend_title.R:55:3'): add_legend_title() works ──────────
Expected `... <- NULL` not to throw any errors.
Actually got a <packageNotFoundError> with message:
there is no package called 'tidycmprsk'
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-add_legend_title.R:55: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. ├─... %>% ...
8. ├─ggsurvfit::ggcuminc(., outcome = c("death from cancer", "death other causes"))
9. └─base::loadNamespace(x)
10. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
11. └─base (local) withOneRestart(expr, restarts[[1L]])
12. └─base (local) doWithOneRestart(return(expr), restart)
── Error ('test-add_legend_title.R:63:3'): add_legend_title() works ────────────
Error in `eval(code, test_env)`: object 'cuminc1' not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-add_legend_title.R:63:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─ggplot2::ggplot_build(cuminc1)
5. └─ggplot2:::try_prop(plot, "plot_env")
6. └─S7::S7_inherits(object)
── Failure ('test-add_pvalue.R:36:3'): add_pvalue() works ──────────────────────
Expected `... <- NULL` not to throw any errors.
Actually got a <packageNotFoundError> with message:
there is no package called 'tidycmprsk'
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-add_pvalue.R:36: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. ├─... %>% ggcuminc(outcome = "death from cancer")
8. ├─ggsurvfit::ggcuminc(., outcome = "death from cancer")
9. └─base::loadNamespace(x)
10. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
11. └─base (local) withOneRestart(expr, restarts[[1L]])
12. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test-ggsurvfit_options.R:3:3'): ggsurvfit.switch-color-linetype option works ──
Expected `... <- NULL` not to throw any errors.
Actually got a <packageNotFoundError> with message:
there is no package called 'tidycmprsk'
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-ggsurvfit_options.R:3: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. ├─... %>% ...
8. ├─ggsurvfit::ggcuminc(., outcome = c("death from cancer", "death other causes"))
9. └─base::loadNamespace(x)
10. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
11. └─base (local) withOneRestart(expr, restarts[[1L]])
12. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test-ggsurvfit_options.R:11:3'): ggsurvfit.switch-color-linetype option works ──
Expected `print(ggci_strata_outcomes)` not to throw any errors.
Actually got a <simpleError> with message:
object 'ggci_strata_outcomes' not found
Backtrace:
▆
1. ├─testthat::expect_error(print(ggci_strata_outcomes), NA) at test-ggsurvfit_options.R:11: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. └─base::print(ggci_strata_outcomes)
── Failure ('test-ggsurvfit_options.R:13:3'): ggsurvfit.switch-color-linetype option works ──
Expected `... <- NULL` not to throw any errors.
Actually got a <packageNotFoundError> with message:
there is no package called 'tidycmprsk'
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-ggsurvfit_options.R:13: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. ├─... %>% ...
8. ├─ggsurvfit::ggcuminc(., outcome = c("death from cancer", "death other causes"))
9. └─base::loadNamespace(x)
10. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
11. └─base (local) withOneRestart(expr, restarts[[1L]])
12. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test-ggsurvfit_options.R:21:3'): ggsurvfit.switch-color-linetype option works ──
Expected `print(ggci_outcomes)` not to throw any errors.
Actually got a <simpleError> with message:
object 'ggci_outcomes' not found
Backtrace:
▆
1. ├─testthat::expect_error(print(ggci_outcomes), NA) at test-ggsurvfit_options.R:21: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. └─base::print(ggci_outcomes)
── Failure ('test-ggsurvfit_options.R:23:3'): ggsurvfit.switch-color-linetype option works ──
Expected `... <- NULL` not to throw any errors.
Actually got a <packageNotFoundError> with message:
there is no package called 'tidycmprsk'
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-ggsurvfit_options.R:23: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. ├─... %>% ggcuminc()
8. ├─ggsurvfit::ggcuminc(.)
9. └─base::loadNamespace(x)
10. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
11. └─base (local) withOneRestart(expr, restarts[[1L]])
12. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test-ggsurvfit_options.R:31:3'): ggsurvfit.switch-color-linetype option works ──
Expected `print(ggci_strata)` not to throw any errors.
Actually got a <simpleError> with message:
object 'ggci_strata' not found
Backtrace:
▆
1. ├─testthat::expect_error(print(ggci_strata), NA) at test-ggsurvfit_options.R:31: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. └─base::print(ggci_strata)
── Failure ('test-ggsurvfit_options.R:34:3'): ggsurvfit.switch-color-linetype option works ──
Expected `... <- NULL` not to throw any errors.
Actually got a <packageNotFoundError> with message:
there is no package called 'tidycmprsk'
Backtrace:
▆
1. ├─stats::model.frame(formula = Surv(ttdeath, death_cr) ~ 1, data = tidycmprsk::trial)
2. ├─stats::model.frame.default(...)
3. │ └─base::is.data.frame(data)
4. └─base::loadNamespace(x)
5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. └─base (local) withOneRestart(expr, restarts[[1L]])
7. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test-ggsurvfit_options.R:42:3'): ggsurvfit.switch-color-linetype option works ──
Expected `print(ggci_outcomes_linetype)` not to throw any errors.
Actually got a <simpleError> with message:
object 'ggci_outcomes_linetype' not found
Backtrace:
▆
1. ├─testthat::expect_error(print(ggci_outcomes_linetype), NA) at test-ggsurvfit_options.R:42: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. └─base::print(ggci_outcomes_linetype)
── Error ('test-ggsurvfit_options.R:45:3'): ggsurvfit.switch-color-linetype option works ──
Error in `eval(code, test_env)`: object 'ggci_strata_outcomes' not found
Backtrace:
▆
1. └─vdiffr::expect_doppelganger("ggci_strata_outcomes", ggci_strata_outcomes) at test-ggsurvfit_options.R:45:3
2. └─vdiffr (local) writer(fig, testcase, title)
3. └─vdiffr:::print_plot(plot, title)
── Failure ('test-grid.draw_ggsurvfit.R:17:3'): grid.draw() works ──────────────
Expected `save_image_png(...)` not to throw any errors.
Actually got a <packageNotFoundError> with message:
there is no package called 'tidycmprsk'
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-grid.draw_ggsurvfit.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. ├─ggsurvfit (local) save_image_png(...)
8. │ └─ggplot2::ggsave(filename = path, plot = x) at test-grid.draw_ggsurvfit.R:4:5
9. │ └─ggplot2:::get_plot_background(plot, bg)
10. │ └─rlang::is_bare_list(plot)
11. ├─... %>% ggcuminc(outcome = "death from cancer")
12. ├─ggsurvfit::ggcuminc(., outcome = "death from cancer")
13. └─base::loadNamespace(x)
14. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
15. └─base (local) withOneRestart(expr, restarts[[1L]])
16. └─base (local) doWithOneRestart(return(expr), restart)
[ FAIL 13 | WARN 0 | SKIP 22 | PASS 192 ]
Deleting unused snapshots:
'add_censor_mark/cuminc1-censor-mark-all-outcomes.svg',
'add_censor_mark/cuminc1-censor-mark.svg',
'add_censor_mark/cuminc2-censor-mark-all-outcomes.svg',
'add_censor_mark/cuminc2-censor-mark.svg',
'add_censor_mark/cuminc3-censor-mark-all-outcomes.svg',
'add_censor_mark/cuminc3-censor-mark.svg',
'add_confidence_interval/cuminc1-confidence-interval-all-outcomes.svg',
'add_confidence_interval/cuminc1-confidence-interval.svg',
'add_confidence_interval/cuminc2-confidence-interval-all-outcomes.svg',
'add_confidence_interval/cuminc2-confidence-interval.svg',
'add_confidence_interval/cuminc3-confidence-interval-all-outcomes.svg',
'add_confidence_interval/cuminc3-confidence-interval.svg',
'add_pvalue/cuminc2-pvalue.svg', 'add_pvalue/sf2-pvalue-annotation-risk.svg',
'add_pvalue/sf2-pvalue-annotation.svg', 'add_pvalue/sf2-pvalue-caption.svg',
'add_pvalue/sf2-pvalue-with-survfit.svg',
'add_quantile/cuminc1-quantile-all-outcomes.svg', …,
'ggsurvfit_options/ggci-outcomes.svg', and 'ggsurvfit_options/ggci-strata.svg'
Error:
! Test failures.
Execution halted
Flavor: r-release-macos-x86_64
Current CRAN status: ERROR: 1, OK: 11
Version: 2.5.0
Check: examples
Result: ERROR
Running examples in ‘gtsummary-Ex.R’ failed
The error most likely occurred in:
> ### Name: bold_p
> ### Title: Bold significant p-values
> ### Aliases: bold_p
>
> ### ** Examples
>
> # Example 1 ----------------------------------
> trial |>
+ tbl_summary(by = trt, include = c(response, marker, trt), missing = "no") |>
+ add_p() |>
+ bold_p(t = 0.1)
<div id="ydgabwknrs" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
<style>#ydgabwknrs table {
font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#ydgabwknrs thead, #ydgabwknrs tbody, #ydgabwknrs tfoot, #ydgabwknrs tr, #ydgabwknrs td, #ydgabwknrs th {
border-style: none;
}
#ydgabwknrs p {
margin: 0;
padding: 0;
}
#ydgabwknrs .gt_table {
display: table;
border-collapse: collapse;
line-height: normal;
margin-left: auto;
margin-right: auto;
color: #333333;
font-size: 16px;
font-weight: normal;
font-style: normal;
background-color: #FFFFFF;
width: auto;
border-top-style: solid;
border-top-width: 2px;
border-top-color: #A8A8A8;
border-right-style: none;
border-right-width: 2px;
border-right-color: #D3D3D3;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #A8A8A8;
border-left-style: none;
border-left-width: 2px;
border-left-color: #D3D3D3;
}
#ydgabwknrs .gt_caption {
padding-top: 4px;
padding-bottom: 4px;
}
#ydgabwknrs .gt_title {
color: #333333;
font-size: 125%;
font-weight: initial;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 5px;
padding-right: 5px;
border-bottom-color: #FFFFFF;
border-bottom-width: 0;
}
#ydgabwknrs .gt_subtitle {
color: #333333;
font-size: 85%;
font-weight: initial;
padding-top: 3px;
padding-bottom: 5px;
padding-left: 5px;
padding-right: 5px;
border-top-color: #FFFFFF;
border-top-width: 0;
}
#ydgabwknrs .gt_heading {
background-color: #FFFFFF;
text-align: center;
border-bottom-color: #FFFFFF;
border-left-style: none;
border-left-width: 1px;
border-left-color: #D3D3D3;
border-right-style: none;
border-right-width: 1px;
border-right-color: #D3D3D3;
}
#ydgabwknrs .gt_bottom_border {
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
}
#ydgabwknrs .gt_col_headings {
border-top-style: solid;
border-top-width: 2px;
border-top-color: #D3D3D3;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
border-left-style: none;
border-left-width: 1px;
border-left-color: #D3D3D3;
border-right-style: none;
border-right-width: 1px;
border-right-color: #D3D3D3;
}
#ydgabwknrs .gt_col_heading {
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
font-weight: normal;
text-transform: inherit;
border-left-style: none;
border-left-width: 1px;
border-left-color: #D3D3D3;
border-right-style: none;
border-right-width: 1px;
border-right-color: #D3D3D3;
vertical-align: bottom;
padding-top: 5px;
padding-bottom: 6px;
padding-left: 5px;
padding-right: 5px;
overflow-x: hidden;
}
#ydgabwknrs .gt_column_spanner_outer {
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
font-weight: normal;
text-transform: inherit;
padding-top: 0;
padding-bottom: 0;
padding-left: 4px;
padding-right: 4px;
}
#ydgabwknrs .gt_column_spanner_outer:first-child {
padding-left: 0;
}
#ydgabwknrs .gt_column_spanner_outer:last-child {
padding-right: 0;
}
#ydgabwknrs .gt_column_spanner {
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
vertical-align: bottom;
padding-top: 5px;
padding-bottom: 5px;
overflow-x: hidden;
display: inline-block;
width: 100%;
}
#ydgabwknrs .gt_spanner_row {
border-bottom-style: hidden;
}
#ydgabwknrs .gt_group_heading {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
font-weight: initial;
text-transform: inherit;
border-top-style: solid;
border-top-width: 2px;
border-top-color: #D3D3D3;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
border-left-style: none;
border-left-width: 1px;
border-left-color: #D3D3D3;
border-right-style: none;
border-right-width: 1px;
border-right-color: #D3D3D3;
vertical-align: middle;
text-align: left;
}
#ydgabwknrs .gt_empty_group_heading {
padding: 0.5px;
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
font-weight: initial;
border-top-style: solid;
border-top-width: 2px;
border-top-color: #D3D3D3;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
vertical-align: middle;
}
#ydgabwknrs .gt_from_md > :first-child {
margin-top: 0;
}
#ydgabwknrs .gt_from_md > :last-child {
margin-bottom: 0;
}
#ydgabwknrs .gt_row {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
margin: 10px;
border-top-style: solid;
border-top-width: 1px;
border-top-color: #D3D3D3;
border-left-style: none;
border-left-width: 1px;
border-left-color: #D3D3D3;
border-right-style: none;
border-right-width: 1px;
border-right-color: #D3D3D3;
vertical-align: middle;
overflow-x: hidden;
}
#ydgabwknrs .gt_stub {
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
font-weight: initial;
text-transform: inherit;
border-right-style: solid;
border-right-width: 2px;
border-right-color: #D3D3D3;
padding-left: 5px;
padding-right: 5px;
}
#ydgabwknrs .gt_stub_row_group {
color: #333333;
background-color: #FFFFFF;
font-size: 100%;
font-weight: initial;
text-transform: inherit;
border-right-style: solid;
border-right-width: 2px;
border-right-color: #D3D3D3;
padding-left: 5px;
padding-right: 5px;
vertical-align: top;
}
#ydgabwknrs .gt_row_group_first td {
border-top-width: 2px;
}
#ydgabwknrs .gt_row_group_first th {
border-top-width: 2px;
}
#ydgabwknrs .gt_summary_row {
color: #333333;
background-color: #FFFFFF;
text-transform: inherit;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
}
#ydgabwknrs .gt_first_summary_row {
border-top-style: solid;
border-top-color: #D3D3D3;
}
#ydgabwknrs .gt_first_summary_row.thick {
border-top-width: 2px;
}
#ydgabwknrs .gt_last_summary_row {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
}
#ydgabwknrs .gt_grand_summary_row {
color: #333333;
background-color: #FFFFFF;
text-transform: inherit;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
}
#ydgabwknrs .gt_first_grand_summary_row {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
border-top-style: double;
border-top-width: 6px;
border-top-color: #D3D3D3;
}
#ydgabwknrs .gt_last_grand_summary_row_top {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 5px;
border-bottom-style: double;
border-bottom-width: 6px;
border-bottom-color: #D3D3D3;
}
#ydgabwknrs .gt_striped {
background-color: rgba(128, 128, 128, 0.05);
}
#ydgabwknrs .gt_table_body {
border-top-style: solid;
border-top-width: 2px;
border-top-color: #D3D3D3;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
}
#ydgabwknrs .gt_footnotes {
color: #333333;
background-color: #FFFFFF;
border-bottom-style: none;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
border-left-style: none;
border-left-width: 2px;
border-left-color: #D3D3D3;
border-right-style: none;
border-right-width: 2px;
border-right-color: #D3D3D3;
}
#ydgabwknrs .gt_footnote {
margin: 0px;
font-size: 90%;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 5px;
padding-right: 5px;
}
#ydgabwknrs .gt_sourcenotes {
color: #333333;
background-color: #FFFFFF;
border-bottom-style: none;
border-bottom-width: 2px;
border-bottom-color: #D3D3D3;
border-left-style: none;
border-left-width: 2px;
border-left-color: #D3D3D3;
border-right-style: none;
border-right-width: 2px;
border-right-color: #D3D3D3;
}
#ydgabwknrs .gt_sourcenote {
font-size: 90%;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 5px;
padding-right: 5px;
}
#ydgabwknrs .gt_left {
text-align: left;
}
#ydgabwknrs .gt_center {
text-align: center;
}
#ydgabwknrs .gt_right {
text-align: right;
font-variant-numeric: tabular-nums;
}
#ydgabwknrs .gt_font_normal {
font-weight: normal;
}
#ydgabwknrs .gt_font_bold {
font-weight: bold;
}
#ydgabwknrs .gt_font_italic {
font-style: italic;
}
#ydgabwknrs .gt_super {
font-size: 65%;
}
#ydgabwknrs .gt_footnote_marks {
font-size: 75%;
vertical-align: 0.4em;
position: initial;
}
#ydgabwknrs .gt_asterisk {
font-size: 100%;
vertical-align: 0;
}
#ydgabwknrs .gt_indent_1 {
text-indent: 5px;
}
#ydgabwknrs .gt_indent_2 {
text-indent: 10px;
}
#ydgabwknrs .gt_indent_3 {
text-indent: 15px;
}
#ydgabwknrs .gt_indent_4 {
text-indent: 20px;
}
#ydgabwknrs .gt_indent_5 {
text-indent: 25px;
}
#ydgabwknrs .katex-display {
display: inline-flex !important;
margin-bottom: 0.75em !important;
}
#ydgabwknrs div.Reactable > div.rt-table > div.rt-thead > div.rt-tr.rt-tr-group-header > div.rt-th-group:after {
height: 0px !important;
}
</style>
<table class="gt_table" data-quarto-disable-processing="false" data-quarto-bootstrap="false">
<thead>
<tr class="gt_col_headings">
<th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="label"><span class='gt_from_md'><strong>Characteristic</strong></span></th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="stat_1"><span class='gt_from_md'><strong>Drug A</strong><br />
N = 98</span><span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;line-height:0;"><sup>1</sup></span></th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="stat_2"><span class='gt_from_md'><strong>Drug B</strong><br />
N = 102</span><span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;line-height:0;"><sup>1</sup></span></th>
<th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="p.value"><span class='gt_from_md'><strong>p-value</strong></span><span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;line-height:0;"><sup>2</sup></span></th>
</tr>
</thead>
<tbody class="gt_table_body">
<tr><td headers="label" class="gt_row gt_left">Tumor Response</td>
<td headers="stat_1" class="gt_row gt_center">28 (29%)</td>
<td headers="stat_2" class="gt_row gt_center">33 (34%)</td>
<td headers="p.value" class="gt_row gt_center">0.5</td></tr>
<tr><td headers="label" class="gt_row gt_left">Marker Level (ng/mL)</td>
<td headers="stat_1" class="gt_row gt_center">0.84 (0.23, 1.60)</td>
<td headers="stat_2" class="gt_row gt_center">0.52 (0.18, 1.21)</td>
<td headers="p.value" class="gt_row gt_center" style="font-weight: bold;">0.085</td></tr>
</tbody>
<tfoot>
<tr class="gt_footnotes">
<td class="gt_footnote" colspan="4"><span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;line-height:0;"><sup>1</sup></span> <span class='gt_from_md'>n (%); Median (Q1, Q3)</span></td>
</tr>
<tr class="gt_footnotes">
<td class="gt_footnote" colspan="4"><span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;line-height:0;"><sup>2</sup></span> <span class='gt_from_md'>Pearson’s Chi-squared test; Wilcoxon rank sum test</span></td>
</tr>
</tfoot>
</table>
</div>
>
> # Example 2 ----------------------------------
> glm(response ~ trt + grade, trial, family = binomial(link = "logit")) |>
+ tbl_regression(exponentiate = TRUE) |>
+ bold_p(t = 0.65)
Error in bold_p(tbl_regression(glm(response ~ trt + grade, trial, family = binomial(link = "logit")), :
The package "broom.helpers" (>= 1.20.0) is required.
Calls: bold_p ... tbl_regression -> check_pkg_installed -> <Anonymous>
Execution halted
Flavor: r-release-macos-x86_64
Version: 2.5.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘gtsummary_definition.Rmd’ using rmarkdown
Quitting from gtsummary_definition.Rmd:30-41 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlib_error_package_not_found>
Error in `bold_p()`:
! The package "broom.helpers" (>= 1.20.0) is required.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'gtsummary_definition.Rmd' failed with diagnostics:
The package "broom.helpers" (>= 1.20.0) is required.
--- failed re-building ‘gtsummary_definition.Rmd’
SUMMARY: processing the following file failed:
‘gtsummary_definition.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-release-macos-x86_64
Current CRAN status: OK: 12
Current CRAN status: OK: 12
Current CRAN status: OK: 12
Current CRAN status: OK: 12