Skip to content

CMHNPA

Cochran-Mantel-Haenszel and Nonparametric ANOVA

v1.1.1 · Feb 8, 2023 · GPL-3

Description

Cochran-Mantel-Haenszel methods (Cochran (1954) <doi:10.2307/3001616>; Mantel and Haenszel (1959) <doi:10.1093/jnci/22.4.719>; Landis et al. (1978) <doi:10.2307/1402373>) are a suite of tests applicable to categorical data. A competitor to those tests is the procedure of Nonparametric ANOVA which was initially introduced in Rayner and Best (2013) <doi:10.1111/anzs.12041>. The methodology was then extended in Rayner et al. (2015) <doi:10.1111/anzs.12113>. This package employs functions related to both methodologies and serves as an accompaniment to the book: An Introduction to Cochran–Mantel–Haenszel and Non-Parametric ANOVA. The package also contains the data sets used in that text.

Downloads

CRAN

264

Last 30 days

18654th

648

Last 90 days

2.4K

Last year

Trend: +58.1% (30d vs prior 30d)

r2u CRAN

1

Last 30 days

26

Last 90 days

148

Last year

Trend: -90% (30d vs prior 30d)

autoCRAN

1

Last 7 days

6

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘car’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Line coverage

Expression

Tests / Examples

Functions

16 16 exported

Complexity

16.4 avg / 43 max

Call network

16 nodes / 10 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Compare versions

Code

Structure

Lines of code

5,045

Files

106

Compiled share

0%

Has compiled src

No

Language breakdown

R 3,491 (69.2%)Docs 1,554 (30.8%)

API

Exported functions

16

Internal functions

0

Recent export changes

v1.1.1+1 Poly
v0.1.0+15 ARL, CARL, CMH +12 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

2.10

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

3

First release

2022-08-09

Latest release

2023-02-08

Avg cadence

92 days

Cold removal rate

Dep drift

0

LOC over versions

v0.1.0: 4,002 LOCv0.1.1: 4,006 LOCv1.1.1: 5,045 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies MASS car CMHNPA

Version History

4 tracked
new 1.1.1 Mar 10, 2026
updated 1.1.1 ← 0.1.1 diff Feb 7, 2023
updated 0.1.1 ← 0.1.0 diff Aug 10, 2022
new 0.1.0 Aug 8, 2022