Package: tidyfault
Title: Tidy Fault Tree Analysis
Version: 0.1.0
Authors@R: c(
    person("Timothy", "Fraser", , "tmf77@cornell.edu", role = c("aut", "cre", "cph"),
           comment = c(ORCID = "0000-0002-4509-0244")),
    person("Jingyao", "Tong", , "jingyaotong6@gmail.com", role = c("aut", "cph"),
           comment = c(ORCID = "0009-0009-6147-756X")),
    person("Cornell University", role = "cph")
  )
Description: 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.
URL: https://tidyfault.netlify.app,
        https://github.com/timothyfraser/tidyfault
BugReports: https://github.com/timothyfraser/tidyfault/issues
License: GPL-3
Encoding: UTF-8
Language: en-US
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)
VignetteBuilder: knitr
Config/testthat/edition: 3
LazyData: true
Config/roxygen2/version: 8.1.0
RoxygenNote: 7.3.3
NeedsCompilation: yes
Packaged: 2026-10-14 20:12:31 UTC; tmf77
Author: Timothy Fraser [aut, cre, cph] (ORCID:
    <https://orcid.org/0000-0002-4509-0244>),
  Jingyao Tong [aut, cph] (ORCID:
    <https://orcid.org/0009-0009-6147-756X>),
  Cornell University [cph]
Maintainer: Timothy Fraser <tmf77@cornell.edu>
Repository: CRAN
Date/Publication: 2026-10-24 09:00:02 UTC
