Skip to content

Commit

Permalink
Merge branch 'main' into 931_reinstate_summarize_vars_in_cols@main
Browse files Browse the repository at this point in the history
  • Loading branch information
Melkiades authored Jun 6, 2023
2 parents df741d0 + 6ca9aa5 commit f636231
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ default_language_version:
python: python3
repos:
- repo: https://github.com/lorenzwalthert/precommit
rev: v0.3.2.9011
rev: v0.3.2.9013
hooks:
- id: style-files
name: Style code with `styler`
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: tern
Title: Create Common TLGs Used in Clinical Trials
Version: 0.8.2.9002
Date: 2023-06-02
Version: 0.8.2.9003
Date: 2023-06-06
Authors@R: c(
person("Joe", "Zhu", , "joe.zhu@roche.com", role = c("aut", "cre")),
person("Daniel", "Sabanés Bové", , "daniel.sabanes_bove@roche.com", role = "aut"),
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# tern 0.8.2.9002
# tern 0.8.2.9003

### Enhancements
* Added explicit zero counts to `g_km` plot "at risk" annotation tables.
Expand Down
2 changes: 1 addition & 1 deletion R/kaplan_meier_plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ h_grob_tbl_at_risk <- function(data, annot_tbl, xlim) {
annot_tbl <- expand.grid(
time = seq(0, xlim, y_int),
strata = unique(annot_tbl$strata)
) %>% left_join(annot_tbl, by = c("time", "strata"))
) %>% dplyr::left_join(annot_tbl, by = c("time", "strata"))
annot_tbl[is.na(annot_tbl)] <- 0
y_str_unit <- as.numeric(annot_tbl$strata)
vp_table <- grid::plotViewport(margins = grid::unit(c(0, 0, 0, 0), "lines"))
Expand Down

0 comments on commit f636231

Please sign in to comment.