Skip to content

r4lineups

Statistical Inference on Lineup Fairness

v0.1.1 · Jul 18, 2018 · CC0

Description

Since the early 1970s eyewitness testimony researchers have recognised the importance of estimating properties such as lineup bias (is the lineup biased against the suspect, leading to a rate of choosing higher than one would expect by chance?), and lineup size (how many reasonable choices are in fact available to the witness? A lineup is supposed to consist of a suspect and a number of additional members, or foils, whom a poor-quality witness might mistake for the perpetrator). Lineup measures are descriptive, in the first instance, but since the earliest articles in the literature researchers have recognised the importance of reasoning inferentially about them. This package contains functions to compute various properties of laboratory or police lineups, and is intended for use by researchers in forensic psychology and/or eyewitness testimony research. Among others, the r4lineups package includes functions for calculating lineup proportion, functional size, various estimates of effective size, diagnosticity ratio, homogeneity of the diagnosticity ratio, ROC curves for confidence x accuracy data and the degree of similarity of faces in a lineup.

Downloads

CRAN

256

Last 30 days

16472nd

594

Last 90 days

2.3K

Last year

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

r2u CRAN

8

Last 30 days

22

Last 90 days

99

Last year

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

autoCRAN

2

Last 7 days

20

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

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘Vignette.Rmd’ using rmarkdown
Warning in file("", "w+b") :
  cannot open file '/tmp/Rtmpv6pSC7/Rf107f7e72a1c878': No space left on device

Quitting from Vignette.Rmd:233-235 [unnamed-chunk-12]
...[truncated]...
Error: processing vignette 'Vignette.Rmd' failed with diagnostics:
cannot open the connection
--- failed re-building ‘Vignette.Rmd’

SUMMARY: processing the following file failed:
  ‘Vignette.Rmd’

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

Dependency Network

Dependencies Reverse dependencies boot dplyr ggplot2 ggrepel here magick magrittr pROC psych purrr r4lineups

Version History

1 tracked
new 0.1.1 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Jul 18, 2018. Releases before tracking aren’t shown.