Skip to content

Commit

Permalink
Fix error when loading app on shinyapps.io (see https://community.rst…
Browse files Browse the repository at this point in the history
  • Loading branch information
aldomann committed Jan 24, 2024
1 parent fc5956f commit f349f46
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy-shiny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
extra-packages: |
pkgload
rsconnect
markdown
here
BH
cpp11
Expand Down
10 changes: 8 additions & 2 deletions dev/shiny-dev/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
# To deploy, run: rsconnect::deployApp()
# Or use the blue button on top of this file

pkgload::load_all(export_all = FALSE, helpers = FALSE, attach_testthat = FALSE)
library(markdown)
pkgload::load_all(
export_all = FALSE,
helpers = FALSE,
attach_testthat = FALSE
)

options("golem.app.prod" = TRUE)
biodosetools::run_app() # add parameters here (if any)
biodosetools::run_app()

0 comments on commit f349f46

Please sign in to comment.