Materializes inst/shiny from an installed replicateEverything build into
dest, for Shiny Server and similar hosts that expect app.R (and www/)
in a fixed folder. Existing local.R in dest is never overwritten.
Usage
save_local_shiny(
dest = getwd(),
package = "replicateEverything",
overwrite = TRUE,
live_run = TRUE,
feedback_enabled = TRUE,
feedback_file = "data/feedback.csv",
wzb_live_run_max_seconds = 600
)Arguments
- dest
Target directory. Defaults to the current working directory.
- package
Package that ships the app; default
"replicateEverything".- overwrite
If
TRUE, replace existing app files exceptlocal.R.- live_run
If
TRUE(default), deployed app shows Live Run controls; ifFALSE, display-only deployment.- feedback_enabled
If
TRUE(default for server deploys), enable the in-app feedback form and CSV logging atfeedback_file. Interactiverun_shiny_app()leaves feedback off unless you set options yourself.- feedback_file
Relative or absolute path for the feedback CSV (default
data/feedback.csv, relative to the deploy directory).- wzb_live_run_max_seconds
Max estimated live-run duration allowed on the WZB Shiny host before the app asks users to run locally. Default
600seconds (10 minutes). SetInfto disable.
