From 890bfc6b83e5f77c78908a36a4fd0fa47cb2b830 Mon Sep 17 00:00:00 2001 From: Daniel Sjoberg Date: Fri, 2 Aug 2024 21:03:06 -0700 Subject: [PATCH] Removing notes during installation (#111) * gtsummary v2.0 preparation * Update R-CMD-check.yaml * Update DESCRIPTION * doc update * Update DESCRIPTION * Update DESCRIPTION * Update NEWS.md * Adding new functions to _pkgdown.yml. * updates * updates * Update R-CMD-check.yaml * base R pipe --------- Co-authored-by: Teng Fei --- .github/workflows/R-CMD-check.yaml | 3 +++ R/broom_methods.R | 2 +- R/print.R | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index c52ba57..463a8d2 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -30,6 +30,9 @@ jobs: - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} - {os: ubuntu-latest, r: 'release'} - {os: ubuntu-latest, r: 'oldrel-1'} + # - {os: ubuntu-latest, r: 'oldrel-2'} + # - {os: ubuntu-latest, r: 'oldrel-3'} + # - {os: ubuntu-latest, r: 'oldrel-4'} env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} diff --git a/R/broom_methods.R b/R/broom_methods.R index ad5de02..9a08a04 100644 --- a/R/broom_methods.R +++ b/R/broom_methods.R @@ -214,7 +214,7 @@ first_cuminc_tidy <- function(x, conf.level) { df_se <- x$cmprsk %>% cmprsk::timepoints(times = times) %>% - purrr::pluck("var") %>% + purrr::pluck("var") |> sqrt() %>% cuminc_matrix_to_df(name = "std.error", times = times) diff --git a/R/print.R b/R/print.R index cec03a3..97e7326 100644 --- a/R/print.R +++ b/R/print.R @@ -164,7 +164,7 @@ print.tidycuminc <- function(x, ...) { cli::cli_li("Tests") df_glance <- glance(x) - nrow(x$cmprsk$Tests) %>% + nrow(x$cmprsk$Tests) |> seq_len() %>% purrr::map( function(i) {