It leverages the network-like architecture of scientific models together with software quality metrics to identify chains of function calls that are more prone to generating and propagating errors. It operates on tbl_graph objects representing call dependencies between functions (callers and callees) and computes risk scores for individual functions and for paths (sequences of function calls) based on cyclomatic complexity, in-degree and betweenness centrality. The package supports variance-based uncertainty and sensitivity analyses after Puy et al. (2022) <doi:10.18637/jss.v102.i05> to assess how risk scores change under alternative risk definitions.
| Version: | 0.1.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | dplyr, ggplot2, ggraph, igraph, ineq, purrr, scales, tibble, tidygraph, grid, stats, utils, rlang, data.table, sensobol |
| Suggests: | knitr, rmarkdown, spelling |
| Published: | 2026-01-21 |
| DOI: | 10.32614/CRAN.package.softwareRisk |
| Author: | Arnald Puy |
| Maintainer: | Arnald Puy <arnald.puy at pm.me> |
| License: | GPL-3 |
| NeedsCompilation: | no |
| Language: | en-US |
| Citation: | softwareRisk citation info |
| Materials: | README, NEWS |
| CRAN checks: | softwareRisk results |
| Reference manual: | softwareRisk.html , softwareRisk.pdf |
| Vignettes: |
softwareRisk: Computation of Node and Path-Level Risk Scores in Scientific Models (source, R code) |
| Package source: | softwareRisk_0.1.0.tar.gz |
| Windows binaries: | r-devel: softwareRisk_0.1.0.zip, r-release: softwareRisk_0.1.0.zip, r-oldrel: softwareRisk_0.1.0.zip |
| macOS binaries: | r-release (arm64): softwareRisk_0.1.0.tgz, r-oldrel (arm64): softwareRisk_0.1.0.tgz, r-release (x86_64): softwareRisk_0.1.0.tgz, r-oldrel (x86_64): softwareRisk_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=softwareRisk to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.