Skip to content

heteroTests

0.11.2Package record

Heteroscedasticity Diagnostics for Linear Models

0packages depend
553downloads / year
67.2%test coverage
13/13flavors OK

Overview

About

Provides a unified set of heteroscedasticity diagnostics for linear-model workflows. It implements classical auxiliary-regression tests, including those of White (1980) doi:10.2307/1912934, Breusch and Pagan (1979) doi:10.2307/1911963, Koenker (1981) doi:10.1016/0304-4076(81)90062-2, Goldfeld and Quandt (1965) doi:10.1080/01621459.1965.10480811 and Harvey (1976) doi:10.2307/1913974; the score test of Cook and Weisberg (1983) doi:10.1093/biomet/70.1.1; the ARCH test of Engle (1982) doi:10.2307/1912773; and group-wise tests of equal variance, including those of Bartlett (1937) doi:10.1098/rspa.1937.0109, Brown and Forsythe (1974) doi:10.1080/01621459.1974.10482955 and Hartley (1950) doi:10.2307/2332383. Resampling and scalable variants, simulation utilities, diagnostic visualisation and remediation helpers share a consistent interface designed for reproducible statistical workflows and integration with common modelling tools.

Changes in 0.11.2

Changes requested by the CRAN review of the 0.11.1 submission. No statistic,

default or exported function changes.

  • The Description field no longer says "in R", and now cites the methods the package implements, with DOIs: White (1980), Breusch and Pagan (1979), Koenker (1981), Goldfeld and Quandt (1965), Harvey (1976), Cook and Weisberg (1983), Engle (1982), Bartlett (1937), Brown and Forsythe (1974) and Hartley (1950).
  • No example reaches an unexported object through :::. The six help pages that did -- for rhandleMissingValues(), rTEST_REQUIREMENTS, rvalidateDataInputs(), rvalidateDistributionalAssumptions(), rvalidateGroupingVariable() and rvalidateModelInputs() -- document internal objects, where :: would fail. Their examples are removed rather than the objects exported.
Show all changes in 0.11.2Hide the rest of the changes in 0.11.2
  • No example uses \dontrun{}. The recommendations example runs in well under a second and is unwrapped. The report example takes about ten seconds and needs pandoc, so it runs under \donttest{} behind rmarkdown::pandoc_available() and writes to tempdir(). The dashboard example is guarded by interactive(), since printing the Shiny application it returns starts a blocking server.
  • The \donttest{} part of the performWhiteTestBootstrap() example uses 499 bootstrap replications rather than 999. With that part included, as R CMD check --as-cran runs it, the example took 5.0 to 5.7 seconds, over the five-second limit for examples; it now takes about 1.7 seconds.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 6.8 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OKNow
  • OK6 OK2026-09-27
Advisories

none known

Documentation

In release 0.11.2
README· In the repository, left out of the releaseVignettesYes · 8 · dynamicNEWSYes · 100% structured · mentions 0.11.2Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
129 (20 internal)
Examples that run
96%77 run in a plain check (4 of them under a condition) · 3 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
81%
Documented parameters
99%
Return-value docs
96%
Help pages citing references
29%

Downloads

553
CRAN downloads in the past year
Rank #23,547 · ~2/day · ~46/mo
Daily download trend is not available in this view yet.
55330 days
55390 days
5531 year
Compare downloads with other packages →
Also on5 r2u1 autocran

Repository

0Stars
0Forks
0Open issues
2Open PRs
13Releases
645Commits
2Commit identities
License file reads as Apache-2.0 · 645 commits · Last activity 2026-10-24 · Default branch at 0.15.0, ahead of CRAN 0.11.2 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
99%
Median days to close, 50 most recently updated closed issues
0
Median days to close, 50 most recently updated closed PRs
0

Releases over time

2026-09-27 · 92026-10-17 · 13
PracticesBeta

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

Checks run against github.com/diogoribeiro7/heterotests on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Contributing guideIssue templates
Docs source (2)

GitHub Pages site last deployed 2026-10-21 · The repository has a site deploy workflow

pkgdown site last built 2026-10-16

Coverage (1)
Coverage reporting
Show all practicesHide 5 practices
Reproducibility and dev environment (3)
renvdata-raw/Dockerfile
CRAN release process (1)
cran-comments.md
Research and citation (2)
CITATION.cffZenodo
Lint, format, editor (1)
lintr
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Codexfirst seen 2025-08-13
    Pull request it wrote: opened by a project member
  • Claude Codefirst seen 2026-10-09
    Pull request it wrote: opened by a project member
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
37 external dependencies (excludes base and recommended)

Installing heteroTests adds 20 packages (9 with compiled code, 14 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.

Depends (1)
R >= 4.1
Imports (9)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.11.2 (2026)
Releases (1)
  • 0.11.2Latest
    2026-09-26 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-09-26
Total releases
1 / 1 yrs
License
Apache License (>= 2.0)
Minimum R
≥ 4.1
Bundled data
5.8 KB / 2 files
Download size
1.1 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("heteroTests")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.2307/1912934, 10.2307/1911963, 10.1016/0304-4076(81)90062-2, 10.2307/2283047, 10.1080/01621459.1974.10482955, 10.1080/01621459.1976.10481517, 10.1098/rspa.1937.0109, 10.2307/2332383, 10.2307/1912773, 10.1111/j.1467-9892.1983.tb00373.x, 10.1093/biomet/70.1.1, 10.1080/01621459.1979.10481047, 10.2307/1412159.

The repository also keeps a CITATION.cff.

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 heteroTests version 0.11.2 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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