Skip to content

Commit

Permalink
Merge branch 'main' into 1187_decorate_output@main
Browse files Browse the repository at this point in the history
  • Loading branch information
averissimo authored Dec 5, 2024
2 parents cbb58b7 + 556a6a2 commit e3be031
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: teal.modules.clinical
Title: 'teal' Modules for Standard Clinical Outputs
Version: 0.9.1.9036
Date: 2024-11-29
Version: 0.9.1.9037
Date: 2024-12-05
Authors@R: c(
person("Joe", "Zhu", , "[email protected]", role = c("aut", "cre")),
person("Jana", "Stoilova", , "[email protected]", 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 @@
# teal.modules.clinical 0.9.1.9036
# teal.modules.clinical 0.9.1.9037

### Enhancements
* Added `teal.logger` functionality for logging changes in shiny inputs in all modules.
Expand Down
8 changes: 6 additions & 2 deletions R/tm_g_pp_adverse_events.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,12 @@ template_adverse_events <- function(dataname = "ANL",
aeterm, tox_grade, causality, outcome, action, time, decod
) %>%
dplyr::arrange(dplyr::desc(tox_grade)) %>%
`colnames<-`(col_labels(dataname, fill = TRUE)[vars])

`colnames<-`(col_labels(dataname, fill = TRUE)[vars]) %>%
dplyr::mutate( # Exception for columns of type difftime that is not supported by as_listing
dplyr::across(
dplyr::where(~ inherits(., what = "difftime")), ~ as.double(., units = "auto")
)
)
table <- rlistings::as_listing(
table,
key_cols = NULL,
Expand Down

0 comments on commit e3be031

Please sign in to comment.