tidyfault: Tidy Fault Tree Analysis

Fault tree analysis with tidy data. Represent a fault tree as two tables, one of nodes (the top event, gates and basic events) and one of edges, so the whole workflow stays in ordinary data frames. Derive the Boolean equation of the top event, enumerate the truth table, and find minimal cut sets with the Method of Obtaining Cut Sets (MOCUS) algorithm of Fussell and Vesely (1972), implemented in 'R' and, by default, in C++ through 'Rcpp'. Evaluate thousands of binary or probabilistic scenarios in one vectorized call, put uncertainty intervals around the top-event probability, follow it over time, and rank which component fix lowers it most. Lay out and draw the tree with 'tidygraph', 'igraph' and 'ggplot2'. Methods follow the "Fault Tree Handbook" of Vesely, Goldberg, Roberts and Haasl (1981) <https://www.nrc.gov/docs/ML1007/ML100780465.pdf>. A 'Python' port with the same functions ships in the same repository.

Version: 0.1.0
Depends: R (≥ 4.1)
Imports: dplyr, ggplot2, graphics, igraph, methods, purrr, Rcpp, rlang, scales, stats, stringr, tibble, tidyr, tidygraph
LinkingTo: Rcpp
Suggests: ggraph, knitr, rmarkdown, spelling, testthat (≥ 3.0.0)
Published: 2026-10-24
DOI: 10.32614/CRAN.package.tidyfault (may not be active yet)
Author: Timothy Fraser ORCID iD [aut, cre, cph], Jingyao Tong ORCID iD [aut, cph], Cornell University [cph]
Maintainer: Timothy Fraser <tmf77 at cornell.edu>
BugReports: https://github.com/timothyfraser/tidyfault/issues
License: GPL-3
URL: https://tidyfault.netlify.app, https://github.com/timothyfraser/tidyfault
NeedsCompilation: yes
Language: en-US
Citation: tidyfault citation info
Materials: README, NEWS
CRAN checks: tidyfault results

Documentation:

Reference manual: tidyfault.html , tidyfault.pdf
Vignettes: Core workflow (source, R code)
quantify()-ing binary outcomes (source, R code)
quantify()-ing probabilities (source, R code)
Simulating uncertainty (source, R code)
Visualizing fault trees (source, R code)

Downloads:

Package source: tidyfault_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=tidyfault to link to this page.