Skip to content

nonnest2

Tests of Non-Nested Models

v0.5-9 · Mar 31, 2026 · GPL-2 | GPL-3

Description

Testing non-nested models via theory supplied by Vuong (1989) <DOI:10.2307/1912557>. Includes tests of model distinguishability and of model fit that can be applied to both nested and non-nested models. Also includes functionality to obtain confidence intervals associated with AIC and BIC. This material is partially based on work supported by the National Science Foundation under Grant Number SES-1061334.

Downloads

CRAN

17.3K

Last 30 days

882nd

59.2K

Last 90 days

224.7K

Last year

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

r2u CRAN

44

Last 30 days

313

Last 90 days

3.9K

Last year

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

autoCRAN

3

Last 7 days

26

Last 30 days

1

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 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-windows-x86_64

package dependencies

Package suggested but not available for checking: 'OpenMx'

Code

Structure

Lines of code

1,972

Files

20

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,099 (55.7%)Tests 460 (23.3%)Docs 239 (12.1%)Vignettes 174 (8.8%)

API

Exported functions

3

Internal functions

23

Testing & CI

Has tests

Yes

Test-to-code ratio

0.42

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

66.7%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

20%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.0.0

System requirements

C++ standard

License

GPL-2 | GPL-3

License flags

SPDX valid, OSI approved

History

Versions

15

First release

2014-08-02

Latest release

2026-04-01

Avg cadence

240 days

Cold removal rate

Dep drift

2

LOC over versions

v0.1: 960 LOCv0.1-1: 974 LOCv0.2: 1,004 LOCv0.3: 1,583 LOCv0.4-1: 1,586 LOCv0.5: 1,706 LOCv0.5-1: 1,743 LOCv0.5-2: 1,794 LOCv0.5-3: 1,796 LOCv0.5-4: 1,798 LOCv0.5-5: 1,828 LOCv0.5-6: 1,892 LOCv0.5-7: 1,892 LOCv0.5-8: 1,901 LOCv0.5-9: 1,972 LOC

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

Reverse Dependencies (7)

depends

suggests

Dependency Network

Dependencies Reverse dependencies CompQuadForm mvtnorm lavaan sandwich merDeriv blavaan mhurdle modelscompete4 tidySEM insight performance nonnest2

Version History

16 tracked
updated 0.5-9 ← 0.5-8 diff Apr 1, 2026
new 0.5-8 Mar 10, 2026
updated 0.5-8 ← 0.5-7 diff Aug 27, 2024
updated 0.5-7 ← 0.5-6 diff May 5, 2024
updated 0.5-6 ← 0.5-5 diff Aug 12, 2023
updated 0.5-5 ← 0.5-4 diff Jul 4, 2020
updated 0.5-4 ← 0.5-3 diff Jun 18, 2020
updated 0.5-3 ← 0.5-2 diff Mar 13, 2020
updated 0.5-2 ← 0.5-1 diff Sep 25, 2018
updated 0.5-1 ← 0.5 diff Jan 22, 2018
updated 0.5 ← 0.4-1 diff Dec 14, 2017
updated 0.4-1 ← 0.3 diff Sep 12, 2016
updated 0.3 ← 0.2 diff Jan 22, 2016
updated 0.2 ← 0.1-1 diff Dec 3, 2014
updated 0.1-1 ← 0.1 diff Sep 14, 2014