Skip to content

hmetad

Fit the Meta-D' Model of Confidence Ratings Using 'brms'

v0.1.2 · May 15, 2026 · GPL (>= 3)

Description

Implementation of Bayesian regressions over the meta-d' model of psychological data from two alternative forced choice tasks with ordinal confidence ratings. For more information, see Maniscalco & Lau (2012) <doi:10.1016/j.concog.2011.09.021>. The package is a front-end to the 'brms' package, which facilitates a wide range of regression designs, as well as tools for efficiently extracting posterior estimates, plotting, and significance testing.

Downloads

CRAN

514

Last 30 days

7702nd

1.7K

Last 90 days

2.2K

Last year

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

r2u CRAN

0

Last 30 days

40

Last 90 days

45

Last year

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

autoCRAN

6

Last 7 days

16

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 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

package dependencies

Package required but not available: ‘brms’

Package suggested but not available for checking: ‘tidyverse’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'alternative_distributions.Rmd' using rmarkdown
specified C++17
make cmd is
  make -f "D:/RCompile/recent/R/etc/x64/Makeconf" -f "D:/RCompile/recent/R/share/make/winshlib.mk" CXX='$(CXX17) $(CXX17STD
...[truncated]...
- re-building 'parameterization.Rmd' using rmarkdown
--- finished re-building 'parameterization.Rmd'

SUMMARY: processing the following files failed:
  'alternative_distributions.Rmd' 'hmetad.Rmd'

Error: Vignette re-building failed.
Execution halted
OK 5 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 16, 2026

Line coverage

Expression

Tests / Examples

Functions

63 51 exported

Complexity

4 avg / 19 max

Call network

63 nodes / 85 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

9,435

Files

74

Compiled share

0%

Has compiled src

No

Language breakdown

R 3,341 (35.4%)Tests 683 (7.2%)Docs 1,633 (17.3%)Vignettes 3,778 (40%)

API

Exported functions

51

Internal functions

12

Recent export changes

v0.1.2+3 example_data, example_model, metac2_parameters
v0.1.0+48 add_epred_draws_metad, add_epred_rvars_metad, add_linpred_draws_metad +45 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.20

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

96.2%

\dontrun example ratio

30.8%

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

90%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.2.0

System requirements

C++ standard

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

3

First release

2026-03-16

Latest release

2026-05-15

Avg cadence

30 days

Cold removal rate

Dep drift

0

LOC over versions

v0.1.0: 8,988 LOCv0.1.1: 9,183 LOCv0.1.2: 9,435 LOC

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

Dependency Network

Dependencies Reverse dependencies brms abind dplyr glue posterior rlang stringr tidybayes tidyr hmetad

Version History

3 tracked
updated 0.1.2 ← 0.1.1 diff May 15, 2026
updated 0.1.1 ← 0.1.0 diff Apr 20, 2026
new 0.1.0 Mar 16, 2026