Skip to contents

[Experimental]

Displays information about cached simulation data (~70 MB) used by plan_sample_size(). Shows the cache directory location, whether data is cached, and file size if present.

The simulation data is automatically downloaded on first use of sample size planning functions and stored locally for faster subsequent access.

Usage

cache_info()

Value

Invisibly returns a list with:

  • cache_dir: Character string with the cache directory path

  • data_cached: Logical indicating if simulation data is cached

  • file_size_mb: Numeric file size in MB (or NA if not cached)

See also