Skip to content

Commit

Permalink
Merge pull request #39 from OHDSI/omopviewer
Browse files Browse the repository at this point in the history
use omopviewer for shiny
  • Loading branch information
edward-burn authored Sep 30, 2024
2 parents 01c8a30 + 4e3874a commit b5c89a4
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 989 deletions.
13 changes: 3 additions & 10 deletions R/shinyDiagnostics.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,9 @@
shinyDiagnostics <- function(result,
directory = here::here()){

file.copy(from = system.file("shiny",
package = "phenotypeR"),
to = directory,
recursive = TRUE,
overwrite = TRUE)
rlang::check_installed("omopViewer")

omopgenerics::exportSummarisedResult(result,
fileName = "result.csv",
path = here::here(directory, "shiny", "data"))

shiny::shinyAppDir(here::here(directory, "shiny"))
result |>
omopViewer::exportStaticApp(directory = directory)

}
1 change: 0 additions & 1 deletion inst/shiny/data/readme.md

This file was deleted.

48 changes: 0 additions & 48 deletions inst/shiny/global.R

This file was deleted.

Loading

0 comments on commit b5c89a4

Please sign in to comment.