Learn R Programming

PubChemR (version 3.0.0)

pc_capabilities: Inspect Next-Generation Workflow Capabilities

Description

Reports runtime capabilities relevant to next-generation workflows, including offline policy, cache readiness, and optional dependency availability.

Usage

pc_capabilities(cache_dir = NULL, check_network = FALSE, network_timeout = 2)

Value

A one-row tibble with capability flags and runtime settings.

Arguments

cache_dir

Cache directory to inspect. If `NULL`, uses `pc_config()$cache_dir`.

check_network

Logical. If `TRUE`, performs a lightweight connectivity check against PubChem.

network_timeout

Timeout in seconds for the optional network check.

Details

Network checks are disabled by default to keep behavior deterministic and CRAN-friendly. Use `check_network = TRUE` only in interactive contexts.

Examples

Run this code
pc_capabilities()

Run the code above in your browser using DataLab