Skip to contents

Returns the path to the local cache directory where downloaded clinical trial datasets are stored. The location follows the platform-specific user data directory convention via tools::R_user_dir().

You can delete any subdirectory here to remove a cached dataset, or clear the entire directory to free disk space.

Usage

cache_dir()

Value

A character string with the path to the cache directory.

Examples

cache_dir()
#> [1] "/home/runner/.cache/R/clinTrialData"