| cache_remove | R Documentation |
Removes a single cached runtime version instead of clearing the
entire cache. Use cache_info() to see what's available.
cache_remove(runtime, version, platform = NULL, arch = NULL)
runtime |
Character string. One of |
version |
Character string. Version to remove (e.g., |
platform |
Character string. Platform ( |
arch |
Character string. Architecture ( |
Invisibly returns TRUE if removed, FALSE if not found.
cache_info() to list cached versions, cache_clear() to
remove all cached assets of a type.
# Remove a specific R version
cache_remove("r", "4.4.0", "mac", "arm64")
# Remove a cached Python version
cache_remove("python", "3.14.6", "win", "x64")
# Remove one platform/arch slot of a Node.js version
cache_remove("nodejs", "v22.11.0", "mac", "arm64")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.