skip_if_repo_unavailable() and
skip_if_test_data_missing() to fix "package_installed not found" failures (#54)create_traceability_matrix() to join on a normalized .join_key
for reliable coverage-to-function matching across path formats (#52)risk_assess_pkg()
and assess_pkg_r_package() feature to retrieve latest package versionsimproved assessment of documentation and examples
summary decision report for validation process
refactor fetching source files
updated stringr and kableExtra versions
fine-grained traceability matrices:
generate_html_report:
High Risk, Medium Risk, Low RiskDefunct, Imported, Re-exported, Experimentaldata retrieval from different sources:
more extensive data retrieval from CRAN, Bioconductor and GitHub including:
define your own risk rules
test configuration checks
dependency tree
generate report path
generate_html_report will create a default report path if the user does not specify oneretrieve readme badge
list_badges will fetch the list of badge in the readme and return key-valuetest cleanup
tar files located in inst/test-data have improved clean up using withr::defer and unlink
change generate_html_report and test-generate_html_report to make them CRAN compliantvignette build
CRAN set to eval=FALSE to aid in detritus cleanupAuthor Metadata Expansion:
$author section including maintainer, funder, and a full list of contributing authors with ORCID IDs and roles.Hosting Metadata Extraction:
$host section includes GitHub and CRAN, Bioconductor and internal packageGitHub Repository:
$github_data with:
created_atstarsforksrecent_commits_countCRAN download:
$download with:
total_downloadlast_month_downloadPackage version:
$version_info with:
available_versionlast_versionBioconductor compatibility:
assess_pkg_r_package() function now fetches bioconductor source packagerenv.lock processing:
risk_assess_pkg_lock_files() function now processes renv.lock and pak.lock filesSuggested Dependency Analysis:
$suggested_deps output as a tibble with source, suggested_function, targeted_package, and contextual message.Traceability Matrix:
Package validation report:
Structured Dependency Extraction:
Dependencies are now returned as structured nested lists under $dependencies$imports and $dependencies$suggests, replacing the previous flat string format.
Each suggested package now includes installed version from getsession()
Added $license_name for readable license detection, e.g., "MIT + file LICENSE"
Added $rev_deps returning list reverse dependency
risk_assess_pkg() now includes an optional parameter "path" for locally stored package
remove httr2 and tibble dependencies
First package version inspired by riskmetric.
Package features include:
assess_pkg_r_package() function fetches source code from CRAN