assets_download {shinylive}R Documentation

Manage shinylive assets

Description

Helper methods for managing shinylive assets.

Usage

assets_download(
  version = assets_version(),
  ...,
  dir = assets_cache_dir(),
  url = assets_bundle_url(version)
)

assets_ensure(
  version = assets_version(),
  ...,
  dir = assets_cache_dir(),
  url = assets_bundle_url(version)
)

assets_cleanup(..., dir = assets_cache_dir())

assets_remove(versions, ..., dir = assets_cache_dir())

assets_info(quiet = FALSE)

assets_version()

Arguments

version

The version of the assets to download.

...

Ignored.

dir

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

url

The URL to download the assets from. Unless testing, the default behavior should be used.

versions

The assets versions to remove.

quiet

In assets_info(), if quiet = TRUE, the function will not print the assets information to the console.

Value

assets_version() returns the version of the currently supported Shinylive.

All other methods return invisible().

Functions


[Package shinylive version 0.2.0 Index]