Skip to content

Commit

Permalink
Mulig å snurre opp app i browser, hvis ønskelig
Browse files Browse the repository at this point in the history
  • Loading branch information
arnfinn committed Dec 2, 2024
1 parent 9a6918e commit 8efd6f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/run_app.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#' @return An object representing the rapadm app
#' @export

run_app <- function() {
run_app <- function(browser = FALSE) {

rapbase::loggerSetup()
shiny::shinyApp(ui = app_ui, server = app_server)
shiny::shinyApp(ui = app_ui, server = app_server, , options = list(launch.browser = browser))

Check warning on line 9 in R/run_app.R

View workflow job for this annotation

GitHub Actions / lint

file=R/run_app.R,line=9,col=81,[line_length_linter] Lines should not be more than 80 characters. This line is 95 characters.
}
2 changes: 1 addition & 1 deletion dev/utvikling.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ source("dev/env.R")

Sys.setenv(MYSQL_HOST="localhost") # for mobilt kontor

rapadm::run_app()
rapadm::run_app(browser = TRUE)

0 comments on commit 8efd6f0

Please sign in to comment.