java_clear_distrib_cache: Clear the Java distributions cache folder

View source: R/java_manage_distrib_cache.R

java_clear_distrib_cacheR Documentation

Clear the Java distributions cache folder

Description

Clear the Java distributions cache folder

Usage

java_clear_distrib_cache(
  cache_path = getOption("rJavaEnv.cache_path"),
  check = TRUE,
  delete_all = FALSE
)

Arguments

cache_path

The cache directory to clear. Defaults to the user-specific data directory.

check

Whether to list the contents of the cache directory before clearing it. Defaults to TRUE.

delete_all

Whether to delete all items without prompting. Defaults to FALSE.

Value

A message indicating whether the cache was cleared or not.


rJavaEnv documentation built on Sept. 14, 2024, 1:07 a.m.