Skip to content

Commit

Permalink
rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-navarro committed Mar 13, 2024
1 parent ccdf0e6 commit 4d3e309
Show file tree
Hide file tree
Showing 11 changed files with 747 additions and 809 deletions.
2 changes: 0 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Generated by roxygen2: do not edit by hand

export(calmr_server)
export(calmr_ui)
export(check_globalpars)
export(check_transpars)
export(check_trialpars)
Expand Down
9 changes: 2 additions & 7 deletions R/launch_app.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,8 @@
#' @export
launch_app <- function(
browser = getOption("shiny.launch.browser", interactive())) {
shiny::addResourcePath(
"resources",
system.file("resources", package = "calmr.app")
)
ui <- calmr_ui()
server <- calmr_server()
shiny::runApp(list(ui = ui, server = server),
app_dir <- system.file("calmr_app", package = "calmr.app")
shiny::runApp(app_dir,
display.mode = "normal", launch.browser = browser
)
}
Loading

0 comments on commit 4d3e309

Please sign in to comment.