Package: softwareRisk Type: Package Title: Computation of Node and Path-Level Risk Scores in Scientific Models Version: 0.2.2 Date: 2026-07-04 Authors@R: c( person( "Arnald", "Puy", email = "arnald.puy@pm.me", role = c("aut", "cre"), comment = c(ORCID = "https://orcid.org/0000-0001-9469-2156") ) ) Maintainer: Arnald Puy Description: 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) to assess how risk scores change under alternative risk definitions. License: GPL-3 Encoding: UTF-8 LazyData: true RoxygenNote: 7.3.3 Roxygen: list(markdown = TRUE) Imports: dplyr, ggplot2 (>= 3.5.0), ggraph, igraph, ineq, purrr, scales, tibble, tidygraph, grid, stats, utils, rlang, sensobol Suggests: knitr, rmarkdown, spelling, testthat (>= 3.0.0) VignetteBuilder: knitr Depends: R (>= 4.1.0) Language: en-US Config/pak/sysreqs: libfontconfig1-dev libfreetype6-dev libglpk-dev make libicu-dev libxml2-dev Repository: https://arnaldpuy.r-universe.dev Date/Publication: 2026-07-04 12:30:20 UTC RemoteUrl: https://github.com/arnaldpuy/softwarerisk RemoteRef: HEAD RemoteSha: c9c97b7bebc9951cd17182517c30738b8f22c7fa NeedsCompilation: no Packaged: 2026-07-04 13:16:21 UTC; root Author: Arnald Puy [aut, cre] (ORCID: )