Use this function when debugging package loading issues, preparing reproducibility reports, or diagnosing dependency mismatches between development and production environments. The output is designed for quick visual inspection during debugging or programmatic access via the returned list for CI/CD integration.
Automatically detects the active package context (development via devtools::load_all()
or installed namespace) and reports installed versions of GitHub dependencies.
Value
Invisibly returns a named list with:
pkg_name– resolved package name (development or production)pkg_desc– DESCRIPTION fields for the active package (if found)env_vars– filtered non-sensitive environment variablesdeps_github– character vector ofowner/repo[@ref]from Remotesdeps_versions– named character vector of installed versions for GitHub depssys_info– list of R/OS/session info
Details
Sensitive variable names containing "KEY", "TOKEN", "SECRET", "PASS", "PWD", "CRED", "AUTH", "PRIVATE", or "API" (case-insensitive) are masked from the printed list to prevent accidental credential exposure in logs or screenshots.
See also
Other dev-utils:
dev-helpers,
get_repo_index(),
list_art_packages()
