
Diagnose Shiny deployment and installed package identity
Source:R/package_build_info.R
package_deploy_diagnostics.RdUse on the Shiny host (interactive R session) to confirm which
replicateEverything build is installed, where it lives on disk,
whether the deployed app.R bundle matches, and whether expected
functions exist in the loaded namespace.
Usage
package_deploy_diagnostics(
deploy_dir = NULL,
package = "replicateEverything",
print = TRUE
)Arguments
- deploy_dir
Deploy directory containing
app.R. Defaults toshiny_deploy_dir().- package
Package name; default
"replicateEverything".If
TRUE, print a human-readable report to the console.
Examples
if (FALSE) { # \dontrun{
remotes::install_github("replicate-anything/replicateEverything")
replicateEverything::save_local_shiny("/srv/shiny/replicate")
replicateEverything::package_deploy_diagnostics("/srv/shiny/replicate")
} # }