Learn R Programming

PubChemR (version 3.0.0)

pc_cache_info: Cache Diagnostics for PubChemR

Description

Reports the current number and size of cached items in memory and on disk.

Usage

pc_cache_info(cache_dir = NULL)

Value

A one-row tibble with memory and disk cache diagnostics.

Arguments

cache_dir

Cache directory. If `NULL`, uses configured cache directory.

Details

This is a lightweight diagnostic utility for validating cache behavior in long-running workflows and CI jobs.

Examples

Run this code
pc_cache_info(cache_dir = tempdir())

Run the code above in your browser using DataLab