| prune_webawesome | R Documentation |
Reads one fetched Web Awesome 'dist-cdn/' tree from 'vendor/webawesome/<version>/dist-cdn/', validates that the expected runtime inputs are present, copies the pruned browser runtime bundle into 'inst/www/wa/', copies 'custom-elements.json' and 'VERSION' into 'inst/extdata/webawesome/', writes the shipped bundled-version file to 'inst/SHINY.WEBAWESOME_VERSION', and writes deterministic prune reports under 'reports/prune/<version>/'.
prune_webawesome(
version = NULL,
root = ".",
version_file = .default_version_file(),
verbose = interactive()
)
version |
Optional Web Awesome version string. If 'NULL', reads the pinned version from 'dev/webawesome-version.txt'. |
root |
Repository root directory. |
version_file |
Path to the pinned version file, relative to the repository root. |
verbose |
Logical scalar. If 'TRUE', emits a short prune summary. |
If 'version' is 'NULL', the version pinned in 'dev/webawesome-version.txt' is used.
CLI entry point: './tools/prune_webawesome.R –help'
A list describing the prune operation, including copied runtime and metadata files plus the generated report paths.
## Not run:
prune_webawesome()
prune_webawesome(version = "3.3.1")
## End(Not run)