Skip to content

TestREnlme

Nonparametric Tests for Random Effects in Linear and Nonlinear Mixed-Effects Models

v0.1.0 · Jul 3, 2026 · GPL (>= 3)

Description

Provides nonparametric permutation tests for testing all or any subset of random effects in linear and nonlinear mixed-effects models, without requiring normality or other distributional assumptions on random effects or errors. Three distribution-free variance-component estimators are implemented: Variance Least Squares ('VLS'), Method of Moments ('MM'), and Method of Moments with First-Order Approximation ('MMF'). A permutation procedure is used to obtain finite-sample p-values. Plotting functions support data exploration, model evaluation, and communication of results. Methods are described in Uwimpuhwe, Drikvandi, and Blozis (2026) <doi:10.1002/sim.70605>.

CRAN Check Status

7 OK
Show all 7 flavors
Flavor Status
r-devel-linux-x86_64-fedora-clang OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jul 4, 2026

Code

Structure

Lines of code

4,030

Files

39

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,426 (60.2%)Tests 142 (3.5%)Docs 1,061 (26.3%)Vignettes 401 (10%)

API

Exported functions

13

Internal functions

20

Recent export changes

v0.1.0+13 Beta_hat, Dhypothesis_test, Dmethod +10 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.06

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

14.3%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

9

Dep constraint coverage

75%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.1.0

System requirements

C++ standard

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

1

First release

2026-07-03

Latest release

2026-07-03

Avg cadence

Cold removal rate

Dep drift

0

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

Dependency Network

Dependencies Reverse dependencies nlme Matrix MASS mgsub matrixcalc nls.multstart ggplot2 expm withr rlang TestREnlme

Version History

1 tracked
new 0.1.0 Jul 3, 2026