Skip to contents

cellucid_view() downloads the Cellucid web app at first use into a cache folder and checks every file against the published inventory's SHA-256 digests. Clearing the cache makes the next viewer download it again.

Usage

cellucid_clear_web_cache(cache_dir = NULL)

Arguments

cache_dir

The cache folder; tools::R_user_dir("cellucid", "cache")/web when NULL. It is removed whole, so it must be a folder of its own: the home folder, its parent, the working directory and the file system root are refused.

Value

The folder removed, invisibly.

Examples

cellucid_clear_web_cache(file.path(tempdir(), "cellucid-web-example"))