You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running golem::add_shinyserver_file(), the console output is:
>golem::add_shinyserver_file()
── Creating_disable_autoload.R ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ Created
✔ Adding'^app\\.R$'to'.Rbuildignore'
✔ Adding'^rsconnect$'to'.Rbuildignore'
✔ Adding'pkgload'toImportsfieldinDESCRIPTION
• Refertofunctionswith`pkgload::fun()`
✔ Filecreatedat/private/tmp/deleteme/app.RTodeploy, run:
• rsconnect::deployApp()
• Notethatyou'll need to upload the whole package to Shiny Server
But the app.R doesn't include the Note:
> cat(readLines("app.R"), sep="\n")
# Launch the ShinyApp (Do not remove this comment)# To deploy, run: rsconnect::deployApp()# Or use the blue button on top of this filepkgload::load_all(export_all=FALSE,helpers=FALSE,attach_testthat=FALSE)
options( "golem.app.prod"=TRUE)
deleteme::run_app() # add parameters here (if any)