View source: R/sourcoise_clear.R
| sourcoise_clear_all | R Documentation |
removes every json and qs2 files found by sourcoise_status().
sourcoise_clear_all(root = NULL)
root |
to force root, not recommended (expert use only) |
list of cleared files, plus a side-effect as specified cache files are deleted (no undo possible)
Other sourcoise:
sourcoise(),
sourcoise_clear(),
sourcoise_refresh(),
sourcoise_reset(),
sourcoise_status()
dir <- tempdir()
set_sourcoise_root(dir)
fs::file_copy(
fs::path_package("sourcoise", "some_data.R"),
dir,
overwrite = TRUE)
# Force execution
data <- sourcoise("some_data.R", force_exec = TRUE)
# we then clear all caches
sourcoise_clear_all()
sourcoise_status()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.