Skip to content

mstDIF

A Collection of DIF Tests for Multistage Tests

v0.1.8 · Aug 30, 2024 · GPL-2 | GPL-3

Description

A collection of statistical tests for the detection of differential item functioning (DIF) in multistage tests. Methods entail logistic regression, an adaptation of the simultaneous item bias test (SIBTEST), and various score-based tests. The presented tests provide itemwise test for DIF along categorical, ordinal or metric covariates. Methods for uniform and non-uniform DIF effects are available depending on which method is used.

Downloads

CRAN

311

Last 30 days

14751st

741

Last 90 days

3.1K

Last year

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

r2u CRAN

0

Last 30 days

24

Last 90 days

84

Last year

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

autoCRAN

11

Last 7 days

23

Last 30 days

6

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

whether package can be installed

install log ‘’ does not exist
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

2,583

Files

34

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,610 (62.3%)Tests 241 (9.3%)Docs 562 (21.8%)Vignettes 170 (6.6%)

API

Exported functions

5

Internal functions

32

Recent export changes

v0.1.5+5 bootstrap_sctest, log_reg, mstDIF +2 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.15

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

33.3%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

16.7%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.0.0

System requirements

C++ standard

License

GPL-2 | GPL-3

License flags

SPDX valid, OSI approved

History

Versions

4

First release

2020-07-20

Latest release

2024-08-30

Avg cadence

637 days

Cold removal rate

Dep drift

1

LOC over versions

v0.1.5: 2,553 LOCv0.1.6: 2,553 LOCv0.1.7: 2,557 LOCv0.1.8: 2,583 LOC

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

Dependency Network

Dependencies Reverse dependencies expm Matrix PP mirt scDIFtest eRm mstDIF

Version History

5 tracked
new 0.1.8 Mar 10, 2026
updated 0.1.8 ← 0.1.7 diff Aug 29, 2024
updated 0.1.7 ← 0.1.6 diff Dec 1, 2022
updated 0.1.6 ← 0.1.5 diff Jul 23, 2020
new 0.1.5 Jul 19, 2020