Skip to content

DstarM

Analyze Two Choice Reaction Time Data with the D*M Method

v0.5.0 · Apr 1, 2025 · GPL (>= 2)

Description

A collection of functions to estimate parameters of a diffusion model via a D*M analysis. Build in models are: the Ratcliff diffusion model, the RWiener diffusion model, and Linear Ballistic Accumulator models. Custom models functions can be specified as long as they have a density function.

Downloads

CRAN

632

Last 30 days

5116th

1.9K

Last 90 days

8K

Last year

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

r2u CRAN

24

Last 30 days

115

Last 90 days

442

Last year

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

autoCRAN

4

Last 7 days

17

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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/DstarM.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

6,155

Files

64

Compiled share

20.1%

Has compiled src

Yes

Language breakdown

R 3,458 (56.2%)C/C++/src 1,236 (20.1%)Tests 347 (5.6%)Docs 1,114 (18.1%)

API

Exported functions

24

Internal functions

57

Recent export changes

v0.4.0+1 Density
v0.3.0+2 normalize, upgradeDstarM  −2 byParticipant, calcIC

Testing & CI

Has tests

Yes

Test-to-code ratio

0.10

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

75%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

3

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

6

First release

2016-08-29

Latest release

2025-04-01

Avg cadence

383 days

Cold removal rate

100%

Dep drift

2

LOC over versions

v0.1.0: 3,525 LOCv0.2.1: 3,992 LOCv0.2.2: 3,992 LOCv0.3.0: 6,097 LOCv0.4.0: 6,279 LOCv0.5.0: 6,155 LOC

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

Dependency Network

Dependencies Reverse dependencies DEoptim RWiener rtdists ggplot2 Rcpp DstarM

Version History

7 tracked
new 0.5.0 Mar 10, 2026
updated 0.5.0 ← 0.4.0 diff Mar 31, 2025
updated 0.4.0 ← 0.3.0 diff Aug 27, 2020
updated 0.3.0 ← 0.2.2 diff May 17, 2018
updated 0.2.2 ← 0.2.1 diff Apr 29, 2017
updated 0.2.1 ← 0.1.0 diff Feb 3, 2017
new 0.1.0 Aug 28, 2016