Skip to content

Commit

Permalink
Update shinyDiagnostics.R
Browse files Browse the repository at this point in the history
  • Loading branch information
nmercadeb committed Sep 30, 2024
1 parent f4be196 commit 3bd09aa
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions R/shinyDiagnostics.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ shinyDiagnostics <- function(result,
rlang::check_installed("omopViewer")

result |>
omopViewer::exportStaticApp(directory = directory)

omopViewer::exportStaticApp(
directory = directory,
background = c(
"header" = "phenotypeR diagnostics",
"body" = "This Shiny App contains results generated by the (phenotypeR)[https://ohdsi.github.io/phenotypeR/] package (version {as.character(utils::packageVersion('CohortCharacteristics'))}) to support the assessment of cohorts in the OMOP CDM." |> glue::glue()
)
)
}

0 comments on commit 3bd09aa

Please sign in to comment.