Handwriting Analysis with Random Forests
Overview
Perform forensic handwriting analysis of two scanned handwritten documents. This package implements the statistical method described by Madeline Johnson and Danica Ommen (2021) doi:10.1002/sam.11566. Similarity measures and a random forest produce a score-based likelihood ratio that quantifies the strength of the evidence in favor of the documents being written by the same writer or different writers.
Fixes
- Fixed the vignette, training-slr-model.Rmd, to save files to the temporary directory instead of the Desktop.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 19 (2 internal)includes a package overview page
- Examples that run
- 62%8 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
- Exported functions with examples
- 91%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 95%
- Median days to close, 50 most recently updated closed issues
- 7
- Median days to close, 50 most recently updated closed PRs
- 0
Forks over time
8 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/csafe-isu/handwriterrf on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2024-11-06
Show all practicesHide 2 practices
Dependencies
Installing handwriterRF adds 87 packages (47 with compiled code, 84 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, igraph 4.8 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- unarchivedReturned to CRAN2025-01-29
- 1.1.1Latest
- archivedRemoved from CRAN2025-01-28policy violation Creates and leaves behind '~/Desktop'
- 1.1.02025-01-28 · diff ↗ ·
removed 1 export
get_csafe_train_setadded 5 exports
compare_documents, compare_writer_profiles, get_rates_of_misleading_slrs, get_ref_scores, plot_scores - 1.0.22024-11-03
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-11-03
- Total releases
- 3 / 2 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 845 KB / 7 files
- Download size
- 2.6 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("handwriterRF")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.