Removes cached R installations and/or npm packages from the cache directory.
Usage
cache_clear(what = c("all", "r", "npm", "nodejs", "python"))Details
Use this function to free disk space or force re-downloading of assets:
"r": Removes only cached R installations"npm": Removes only cached npm packages"nodejs": Removes only cached Node.js installations"python": Removes only cached Python installations"all": Removes all cached assets
If the cache directory doesn't exist, a message is shown and nothing is done.