Skip to contents

Risk assessment

Run a full risk assessment on a package (local archive or from repositories).

risk_assess_pkg()
Assess package for risk metrics
risk_assess_pkg_lock_files()
Process lock files

Reports & risk definitions

HTML reports, summaries, and risk metadata.

generate_html_report()
Generate HTML Report for Package Assessment
write_summary_report()
Write the risk assessment summary report
get_risk_analysis()
Get Risk Analysis
get_risk_definition()
Get Risk Definition
list_badges()
List badges image URLs from a local README

Traceability matrix

Coverage mapping between tests and exported code.

create_traceability_matrix()
Create a Traceability Matrix
generate_traceability_matrix()
Assess an R Package traceability matrix from package name and version

Package hosting & downloads

Resolve tarballs from CRAN, Bioconductor, and internal mirrors.

get_package_tarfile()
Download R Package Source Tarball
get_host_package()
Extract and Validate Package Hosting Information
get_internal_package_url()
Get Internal Package URL
get_cran_package_url()
Get CRAN Package URL
get_cran_total_downloads()
Get CRAN Total or Recent Downloads for a Package
get_package_download_cran()
Get CRAN Daily Downloads for a Package
get_package_download_bioconductor()
Get Bioconductor Package Download Statistics
check_cran_package()
Check if a Package Exists on CRAN
check_and_fetch_cran_package()
Check and Fetch CRAN Package
get_versions()
Get Package Versions
get_bioconductor_package_url()
Retrieve Bioconductor Package URL
fetch_bioconductor_releases()
Fetch Bioconductor Release Announcements
parse_bioconductor_releases()
Parse Bioconductor Release Announcements
fetch_bioconductor_package_info()
Fetch Bioconductor Package Information

Dependencies & reverse dependencies

Dependency trees, session deps, and CRAN/Bioconductor reverse deps.

build_dependency_tree()
Build a Dependency Tree for an R Package
download_and_parse_dependencies()
Download and Parse Dependencies of an R Package
fetch_all_dependencies()
Fetch All Dependencies for a Package
print_tree()
Print a Package Dependency Tree
cran_revdep()
Find Reverse Dependencies of a CRAN Package
bioconductor_reverse_deps()
Find Bioconductor Package Reverse Dependencies
cran_packages()
Retrieve the List of CRAN Packages (Internal)
extract_package_version()
Extract the Installed Version of a Package
parse_package_info()
Parse Package Information from CRAN Archive

GitHub & repository activity

GitHub metadata and commit/issue activity.

get_github_data()
Fetch GitHub Repository Data
get_commits_since()
Retrieve GitHub Commits as Weekly Counts (using curl)
count_commits_last_months()
Count Commits in the Last Months
average_issue_close_time()
Calculate Average Time to Close GitHub Issues

PubMed

Literature counts for packages linked to PubMed.

get_pubmed_count()
Get Total Number of PubMed Articles for a Search Term
get_pubmed_by_year()
Get Annual PubMed Article Counts for a Search Term

Helper functions

Low-level and programmatic helpers (coverage runners, test mapping, package inspection, thresholds).

assess_pkg_r_package()
Assess an R package by name (deprecated)
dependsOnPkgs()
Determine Packages that Depend on Given Packages
detect_version_conflicts()
Detect Version Conflicts from dependency tree
extract_thresholds_by_id()
Extract risk thresholds by id
extract_thresholds_by_key()
Extract risk thresholds by key
extract_version()
Extract Package Version from File Path
get_exports()
list all package exports
get_pkg_name()
get package name for display
get_session_dependencies()
Get Dependencies
get_suggested_exp_funcs()
Function to get suggested exported functions
install_package_local()
Install package locally
is_base()
Check if a Package is a Base or Recommended R Package
modify_description_file()
Modify the DESCRIPTION File in a R Package Tarball
parse_html_version()
Parse HTML Content for Package Versions
set_up_pkg()
Creates information on package installation