risk.assessr 2.0.0
New Features
-
Author Metadata Expansion:
- Added
$authorsection includingmaintainer,funder, and a full list of contributing authors with ORCID IDs and roles.
- Added
-
Hosting Metadata Extraction:
- New
$hostsection includes GitHub and CRAN, Bioconductor and internal package
- New
-
GitHub Repository:
- Added
$github_datawith:created_atstarsforksrecent_commits_count
- Added
-
CRAN download:
- Added
$downloadwith:total_downloadlast_month_download
- Added
-
Package version:
- Added
$version_infowith:available_versionlast_version
- Added
-
Bioconductor compatibility:
-
assess_pkg_r_package()function now fetches bioconductor source package
-
-
renv.lock processing:
-
risk_assess_pkg_lock_files()function now processesrenv.lockandpak.lockfiles
-
-
Suggested Dependency Analysis:
- Introduced
$suggested_depsoutput as a tibble withsource,suggested_function,targeted_package, and contextualmessage.
- Introduced
-
Traceability Matrix:
- now processes and reports on regular, S3, and S4 functions.
-
Package validation report:
- HTML report creation with interactive features for package validation
Improvements
-
Structured Dependency Extraction:
Dependencies are now returned as structured nested lists under
$dependencies$importsand$dependencies$suggests, replacing the previous flat string format.Each suggested package now includes installed version from
getsession()Added
$license_namefor readable license detection, e.g.,"MIT + file LICENSE"Added
$rev_depsreturning list reverse dependencyrisk_assess_pkg() now includes an optional parameter “path” for locally stored package
remove
httr2andtibbledependencies
risk.assessr 1.0.0
First package version inspired by riskmetric.
Package features include:
- Run CMD, test coverage
- Traceability Matrix
- Metadata (Date, system, OS)
- Quality extraction metrics (documentation, license, examples, vignettes)
-
assess_pkg_r_package()function fetches source code from CRAN
