assets_install_copy {shinylive}R Documentation

Install shinylive assets from from a local directory

Description

Helper methods for testing updates to shinylive assets.

Usage

assets_install_copy(
  assets_repo_dir,
  ...,
  dir = assets_cache_dir(),
  version = package_json_version(assets_repo_dir)
)

assets_install_link(
  assets_repo_dir,
  ...,
  dir = assets_cache_dir(),
  version = package_json_version(assets_repo_dir)
)

Arguments

assets_repo_dir

The local repository directory for shinylive assets (e.g. posit-dev/shinylive)

...

Ignored.

dir

The asset cache directory. Unless testing, the default behavior should be used.

version

The version of the assets being installed.

Value

All method return invisible().

Functions

See Also

assets_download(), assets_ensure(), assets_cleanup()


[Package shinylive version 0.2.0 Index]