Opens a local package or resolves a GitHub-hosted package at an immutable commit. Registered packages default to their latest passing revision.
Usage
glc_open(
source,
ref = "latest_pass",
token = NULL,
cache_dir = NULL,
registry = NULL,
quiet = FALSE
)Arguments
- source
Registry id,
owner/repository, GitHub URL, local package directory, or localdatapackage.jsonpath.- ref
Remote revision:
"latest_pass","current", or an exact 40-character commit SHA.- token
Optional GitHub token. When omitted,
GITHUB_PATand thenGITHUB_TOKENare consulted.- cache_dir
Optional explicit persistent cache directory. The default uses session-temporary storage for remote reads.
- registry
Optional registry object, URL, or local JSON path.
- quiet
Suppress informational messages. Warnings remain visible.
