| tulpa_cache_clear | R Documentation |
Deletes cached compilation output under tulpa_cache_dir(). The cache holds
build artefacts only – a removed entry is rebuilt by the next tgmrf_cpp()
call on the same source – so it can be emptied at any time.
tulpa_cache_clear(older_than = 0)
older_than |
Remove only entries whose last modification is more than
this many days ago. |
The number of entries removed, invisibly.
tulpa_cache_dir() for the location.
# Deletes the caller's own cached builds, so it runs only in an
# interactive session.
if (interactive()) {
tulpa_cache_clear(older_than = 30) # keep the last 30 days
tulpa_cache_clear() # empty the cache
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.