Materializes app.R (and www/ if present) so a Shiny Server / Posit
Connect host can point at a folder. The folder relies on the installed
DesignLibrary package for designs and helpers.
Usage
copy_library_shiny(dest = getwd(), overwrite = TRUE, package = "DesignLibrary")Details
Typical server workflow:
install.packages("DesignLibrary")
DesignLibrary::install_library_dependencies()
DesignLibrary::copy_library_shiny("/srv/shiny-server/designlibrary")Existing local.R in dest is never overwritten.