Skip to content

Commit

Permalink
Merge branch '339_migrate_to_teal_data@main' of https://github.com/in…
Browse files Browse the repository at this point in the history
…sightsengineering/teal.modules.hermes into 339_migrate_to_teal_data@78_simplify_joinkeys@main
  • Loading branch information
m7pr committed Nov 9, 2023
2 parents 71f64d4 + 500ae53 commit 8f2e7ca
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions R/adtteSpec.R
Original file line number Diff line number Diff line change
Expand Up @@ -208,15 +208,15 @@ adtteSpecInput <- function(inputId, # nolint
#' }
#'
#' my_app <- function() {
#' data <- teal_data()
#' data <- within(data, {
#' ADTTE = teal.modules.hermes::rADTTE %>%
#' dplyr::mutate(is_event = .data$CNSR == 0)
#' MAE = hermes::multi_assay_experiment
#' })
#' datanames <- c("ADTTE", "MAE")
#' datanames(data) <- datanames
#' join_keys(data) <- cdisc_join_keys(!!!datanames)
#' data <- teal_data()
#' data <- within(data, {
#' ADTTE <- teal.modules.hermes::rADTTE %>%
#' dplyr::mutate(is_event = .data$CNSR == 0)
#' MAE <- hermes::multi_assay_experiment
#' })
#' datanames <- c("ADTTE", "MAE")
#' datanames(data) <- datanames
#' join_keys(data) <- cdisc_join_keys(!!!datanames)
#'
#' app <- init(
#' data = data,
Expand Down Expand Up @@ -392,4 +392,3 @@ adtteSpecServer <- function(id, # nolint
)
})
}

0 comments on commit 8f2e7ca

Please sign in to comment.