Package: risk.assessr 4.1.2

Edward Gillian

risk.assessr: Assessing Package Risk Metrics

A reliable and validated tool that captures detailed risk metrics such as R 'CMD' check, test coverage, traceability matrix, documentation, dependencies, reverse dependencies, suggested dependency analysis, repository data, and enhanced reporting for R packages that are local or stored on remote repositories such as GitHub, CRAN, and Bioconductor.

Authors:Edward Gillian [cre, aut], Hugo Bottois [aut], Paulin Charliquart [aut], Andre Couturier [aut], Sanofi [cph, fnd]

risk.assessr_4.1.2.tar.gz
risk.assessr_4.1.2.zip(r-4.7-any)risk.assessr_4.1.2.zip(r-4.6-any)risk.assessr_4.1.2.zip(r-4.5-any)
risk.assessr_4.1.2.tgz(r-4.6-any)risk.assessr_4.1.2.tgz(r-4.5-any)
risk.assessr_4.1.2.tar.gz(r-4.7-any)risk.assessr_4.1.2.tar.gz(r-4.6-any)
risk.assessr_4.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
risk.assessr/json (API)

# Install 'risk.assessr' in R:
install.packages('risk.assessr', repos = c('https://pharmaverse.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/pharmaverse/risk.assessr/issues

Pkgdown/docs site:https://pharmaverse.github.io

On CRAN:

Conda:

7.91 score 44 stars 44 scripts 422 downloads 55 exports 74 dependencies

Last updated from:a07381b2ab. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK200
source / vignettesOK296
linux-releaseOK203
macos-releaseOK159
macos-oldrelOK134
windows-develOK176
windows-releaseOK141
windows-oldrelOK138
wasm-releaseOK147

Exports:assess_pkg_r_packageaverage_issue_close_timebioconductor_reverse_depsbuild_dependency_treecheck_and_fetch_cran_packagecheck_cran_packagecount_commits_last_monthscran_packagescran_revdepcreate_traceability_matrixdependsOnPkgsdetect_version_conflictsdownload_and_parse_dependenciesextract_package_versionextract_thresholds_by_idextract_thresholds_by_keyextract_versionfetch_all_dependenciesfetch_bioconductor_package_infofetch_bioconductor_releasesgenerate_html_reportgenerate_traceability_matrixget_bioconductor_package_urlget_commits_sinceget_cran_package_urlget_cran_total_downloadsget_exportsget_frugal_metricsget_github_dataget_host_packageget_internal_package_urlget_package_download_bioconductorget_package_download_cranget_package_tarfileget_pkg_nameget_pubmed_by_yearget_pubmed_countget_risk_analysisget_risk_definitionget_security_vulnerabilitiesget_session_dependenciesget_suggested_exp_funcsget_versionsinstall_package_localis_baselist_badgesmodify_description_fileparse_bioconductor_releasesparse_html_versionparse_package_infoprint_treerisk_assess_pkgrisk_assess_pkg_lock_filesset_up_pkgwrite_summary_report

Dependencies:askpassbackportsbase64encBiocManagerbriobslibcachemcallrcheckmateclicovrcpp11crayoncurldescdiffobjdigestdplyrevaluatefastmapfontawesomefsgenericsgluehighrhtmltoolshttrjquerylibjsonliteknitrlifecyclemagrittrmemoisemimeopensslotelpillarpkgbuildpkgconfigpkgloadpraiseprettyunitsprocessxpspurrrR6rappdirsrcmdcheckremotesrexrlangrmarkdownrprojrootRUnitsasssessioninfostringistringrsystest.assessrtestthattibbletidyrtidyselecttinytesttinytexutf8vctrswaldowithrxfunxml2xopenyaml

Get pubmed data
Introduction | Setting Your PubMed API Key | Load Required Libraries | Total Number of Articles Matching a Term | Number of Articles by Year | Plotting the Article Trend Over Time

Last update: 2026-07-06
Started: 2026-05-22

Security vulnerabilities
Introduction | Where the data comes from | Load the package | Retrieving vulnerabilities directly | Within a full assessment | How results are reported | Limitations

Last update: 2026-07-02
Started: 2026-07-02

Get package host
Overview | CRAN | Check if the Package Exists on CRAN | Parse Package Archive HTML from CRAN database | Extract Version Information from the Archive Page | Get All Versions and the Latest Version | Get CRAN package URL source code | Internal R package | Bioconductor package | Github repository | Get R package source code

Last update: 2026-06-11
Started: 2026-05-22

Dependency tree
Dependencies Tree | Basic Usage | License Extraction | Check for Conflicting Dependency Versions

Last update: 2026-05-22
Started: 2026-05-22

Examples

Last update: 2026-05-22
Started: 2026-05-22

Generate html risk report
Generate the risk report in a specific path | See the ggplot2 package risk report in the web browser | The report includes different types of traceability matrices:

Last update: 2026-05-22
Started: 2026-05-22

Get available versions
Get package version from CRAN | Get package version from Bioconductor

Last update: 2026-05-22
Started: 2026-05-22

Get popularity metrics from CRAN or Bioconductor package
CRAN download | GitHub commit activity | Bioconductor download

Last update: 2026-05-22
Started: 2026-05-22

Risk Assessment with Custom Configurations
Introduction | Load the Package | Example 1: Use Default Configuration | Example 2: Use Custom Configuration (Strict Code Coverage) | Summary

Last update: 2026-05-22
Started: 2026-05-22

risk.assessr metrics
Package Risk Assessment Summary | Metadata | Documentation Metrics | Dependencies | Test Coverage | CRAN Check Results | Popularity Metrics | CRAN Downloads | GitHub Statistics | Reverse Dependencies (Extended) | Authorship | Hosting Information | Suggested Imports Review | Advanced feature | Traceability Matrix

Last update: 2026-05-22
Started: 2026-05-22

Traceability matrix
Setup environment | Run traceability matrices and risk assessment | Structure of traceability matrices | Get coverage summary by risk level | High risk test coverage | Medium risk test coverage | Low risk test coverage | View function type summary | Defunct Functions | Imported functions | Re-exported functions | Experimental functions

Last update: 2026-05-22
Started: 2026-05-22

Using Risk Assessment Functions
Introduction | 1. Assessing a Local Source Package | Step 1: Build your package | Step 2: Upload the package (optional) | Step 3: Run the assessment | 2. Assessing via renv.lock | 3. Assessing a CRAN or Bioconductor Package | Assess the latest version from CRAN | Or a specific version | Summary

Last update: 2026-05-22
Started: 2026-05-22

Readme and manuals

Help Manual

Help pageTopics
Assess an R package by name (deprecated)assess_pkg_r_package
Calculate Average Time to Close GitHub Issuesaverage_issue_close_time
Find Bioconductor Package Reverse Dependenciesbioconductor_reverse_deps
Build a Dependency Tree for an R Packagebuild_dependency_tree
Check and Fetch CRAN Packagecheck_and_fetch_cran_package
Check if a Package Exists on CRANcheck_cran_package
Count Commits in the Last Monthscount_commits_last_months
Retrieve the List of CRAN Packages (Internal)cran_packages
Find Reverse Dependencies of a CRAN Packagecran_revdep
Create a Traceability Matrixcreate_traceability_matrix
Determine Packages that Depend on Given PackagesdependsOnPkgs
Detect Version Conflicts from dependency treedetect_version_conflicts
Download and Parse Dependencies of an R Packagedownload_and_parse_dependencies
Extract the Installed Version of a Packageextract_package_version
Extract risk thresholds by idextract_thresholds_by_id
Extract risk thresholds by keyextract_thresholds_by_key
Extract Package Version from File Pathextract_version
Fetch All Dependencies for a Packagefetch_all_dependencies
Fetch Bioconductor Package Informationfetch_bioconductor_package_info
Fetch Bioconductor Release Announcementsfetch_bioconductor_releases
Generate HTML Report for Package Assessmentgenerate_html_report
Assess an R Package traceability matrix from package name and versiongenerate_traceability_matrix
Retrieve Bioconductor Package URLget_bioconductor_package_url
Retrieve GitHub Commits as Weekly Counts (using curl)get_commits_since
Get CRAN Package URLget_cran_package_url
Get CRAN Total or Recent Downloads for a Packageget_cran_total_downloads
list all package exportsget_exports
Compute frugal risk metrics for an R packageget_frugal_metrics
Fetch GitHub Repository Dataget_github_data
Extract and Validate Package Hosting Informationget_host_package
Get Internal Package URLget_internal_package_url
Get Bioconductor Package Download Statisticsget_package_download_bioconductor
Get CRAN Daily Downloads for a Packageget_package_download_cran
Download R Package Source Tarballget_package_tarfile
get package name for displayget_pkg_name
Get Annual PubMed Article Counts for a Search Termget_pubmed_by_year
Get Total Number of PubMed Articles for a Search Termget_pubmed_count
Get Risk Analysisget_risk_analysis
Get Risk Definitionget_risk_definition
Get security vulnerabilities for a packageget_security_vulnerabilities
Get Dependenciesget_session_dependencies
Function to get suggested exported functionsget_suggested_exp_funcs
Get Package Versionsget_versions
Install package locallyinstall_package_local
Check if a Package is a Base or Recommended R Packageis_base
List badges image URLs from a local READMElist_badges
Modify the DESCRIPTION File in a R Package Tarballmodify_description_file
Parse Bioconductor Release Announcementsparse_bioconductor_releases
Parse Package Information from CRAN Archiveparse_package_info
Print a Package Dependency Treeprint_tree
Assess package for risk metricsrisk_assess_pkg
Process lock filesrisk_assess_pkg_lock_files
Creates information on package installationset_up_pkg
Write the risk assessment summary reportwrite_summary_report