Skip to content

shewhartr

1.3.0

Statistical Process Control with Tidyverse-Native Workflows

0packages depend
1.2Kdownloads / year
74.0%test coverage
13/13checks pass

Overview

About
Maintained by André LeiteFirst published 2026-05-131 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 3.8 min · r-release-macos-x86_64
Code health
Yes
Tests · ratio 0.16
74.0%
Coverage · measured lines
100%
Documentation · exports
13
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-14
    7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 824 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
77%
Documented parameters
95%
Return-value docs
100%
References docs
51%

Downloads

1.2K
CRAN downloads in the past year
Rank #10,764 · ~3/day · ~96/mo
Daily download trend is not available in this view yet.
21130 days
90990 days
1.2K1 year
Compare downloads with other packages →
Also on19 r2u5 autocran

Repository

Repository
2Stars
0Forks
3Open issues
0Open PRs
0Releases
25Commits
1Contributors
25 commits · Last activity 2026-05-09 · 0% stars, 30d

Stars over time

2026-07-07 · 02026-07-14 · 2

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/castlaboratory/shewhartr on 2026-08-23.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: claude on 2026-05-06

claude

Most recent: claude on 2026-05-06

Evidence
  • claude: on 2026-05-06 · evidence B, D
How this is detected·Detection ruleset v2 (updated 2026-07-29)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Copyright holders (1)
Copyright holder, Funder
Funders (1)
Copyright holder, Funder
Package Timeline

1 release. R releases are shown for context.

  • 1.3.0Latest
    2026-05-13 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-05-13
Total releases
1 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.1.0
Bundled data
7.3 KB / 7 files
Download size
1.1 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("shewhartr")
Leite, A., Castlab, Ferraz, C., Ospina, R., & Vasconcelos, H. (2026). shewhartr: Statistical Process Control with Tidyverse-Native Workflows (Version 1.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.shewhartr

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for shewhartr version 1.3.0 [Data set]. HJJB, LLC. Data release v2026-08-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy