Package: shewhartr
Type: Package
Title: Statistical Process Control with Tidyverse-Native Workflows
Version: 1.3.0
Authors@R: c(
    person("André", "Leite", , "leite@castlab.org",
           role = c("aut", "cre")),
    person("Hugo", "Vasconcelos", , "hugo.vasconcelos@ufpe.br",
           role = "aut"),
    person("Raydonal", "Ospina", , "raydonal@castlab.org", role = "aut"),
    person("Cristiano", "Ferraz", , "cferraz@castlab.org", role = "aut"),
    person("Castlab", role = c("cph", "fnd"))
    )
Description: A comprehensive toolkit for Statistical Process Control (SPC)
    that combines the rigor of classical Shewhart methodology with modern
    tidyverse-native interfaces. Provides classical control charts for
    variables (I-MR, Xbar-R, Xbar-S) and attributes (p, np, c, u), as
    well as regression-based control charts for processes with trend.
    Includes Nelson runs tests, Average Run Length (ARL) simulation,
    process capability indices with bootstrap confidence intervals,
    Box-Cox transformation guidance, and a clean Phase I / Phase II
    workflow. All chart objects integrate with broom via 'tidy',
    'glance' and 'augment' methods. References: Shewhart (1931,
    ISBN:0-87389-076-0); Montgomery (2019, ISBN:978-1-119-39930-8);
    Nelson (1984) <doi:10.1080/00224065.1984.11978921>; Woodall (2000)
    <doi:10.1080/00224065.2000.11980013>; Box & Cox (1964)
    <doi:10.1111/j.2517-6161.1964.tb00553.x>.
License: GPL-3
URL: https://castlaboratory.github.io/shewhartr/,
        https://github.com/castlaboratory/shewhartr
BugReports: https://github.com/castlaboratory/shewhartr/issues
Encoding: UTF-8
LazyData: true
Depends: R (>= 4.1.0)
Imports: rlang (>= 1.1.0), cli (>= 3.6.0), dplyr (>= 1.1.0), purrr (>=
        1.0.0), tibble (>= 3.2.0), tidyselect (>= 1.2.0), ggplot2 (>=
        3.5.0), broom (>= 1.0.0), slider (>= 0.3.0), grid, grDevices,
        stats, utils
Suggests: patchwork (>= 1.1.0), plotly (>= 4.10.0), qcc (>= 2.7),
        lubridate (>= 1.9.0), testthat (>= 3.2.0), vdiffr (>= 1.0.0),
        knitr, rmarkdown, pkgdown, MASS
Config/testthat/edition: 3
RoxygenNote: 7.3.3
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2026-05-09 01:02:39 UTC; leite
Author: André Leite [aut, cre],
  Hugo Vasconcelos [aut],
  Raydonal Ospina [aut],
  Cristiano Ferraz [aut],
  Castlab [cph, fnd]
Maintainer: André Leite <leite@castlab.org>
Repository: CRAN
Date/Publication: 2026-05-13 08:10:09 UTC
Built: R 4.5.3; ; 2026-07-04 05:01:45 UTC; windows
