{
  "_id": "6aca3f74fe5cc25786e85e0d",
  "Package": "handwriterRF",
  "Type": "Package",
  "Title": "Handwriting Analysis with Random Forests",
  "Version": "1.1.1.9000",
  "Authors@R": "c(person(\"Iowa State University of Science and Technology on behalf of its Center for Statistics and Applications in Forensic Evidence\", role = c(\"aut\", \"cph\", \"fnd\")),\nperson(\"Stephanie\", \"Reinders\", role = c(\"aut\", \"cre\"), email = \"reinders.stephanie@gmail.com\"))",
  "Maintainer": "Stephanie Reinders <reinders.stephanie@gmail.com>",
  "Description": "Perform forensic handwriting analysis of two scanned\nhandwritten documents. This package implements the statistical\nmethod described by Madeline Johnson and Danica Ommen (2021)\n<doi:10.1002/sam.11566>. Similarity measures and a random\nforest produce a score-based likelihood ratio that quantifies\nthe strength of the evidence in favor of the documents being\nwritten by the same writer or different writers.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/CSAFE-ISU/handwriterRF",
  "BugReports": "https://github.com/CSAFE-ISU/handwriterRF/issues",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake libglpk-dev make jags libicu-dev libpng-dev\nlibxml2-dev",
  "Repository": "https://csafe-isu.r-universe.dev",
  "Date/Publication": "2025-09-30 18:04:52 UTC",
  "RemoteUrl": "https://github.com/csafe-isu/handwriterrf",
  "RemoteRef": "HEAD",
  "RemoteSha": "8e4bbaeb52eaf71d7c1b46d05348a614e1b9df1b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-10 13:25:11 UTC",
    "User": "root"
  },
  "Author": "Iowa State University of Science and Technology on behalf of its Center\nfor Statistics and Applications in Forensic Evidence [aut, cph,\nfnd],\nStephanie Reinders [aut, cre]",
  "_user": "csafe-isu",
  "_type": "src",
  "_file": "handwriterRF_1.1.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/1bfb9f1f8a89c700a383b3f3a5aed37638b9165389ef1ec4f351daf1a0a0e749",
  "_filesize": 3274853,
  "_sha256": "1bfb9f1f8a89c700a383b3f3a5aed37638b9165389ef1ec4f351daf1a0a0e749",
  "_expires": "2027-01-18T13:36:49.000Z",
  "_created": "2026-10-10T13:25:11.000Z",
  "_published": "2026-10-10T13:36:51.842Z",
  "_buildurl": "https://github.com/r-universe/csafe-isu/actions/runs/38054899667",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114223511767,
      "time": 364,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11671700594"
    },
    {
      "job": 114223512061,
      "time": 382,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11671656367"
    },
    {
      "job": 114223511842,
      "time": 451,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11671036989"
    },
    {
      "job": 114223511890,
      "time": 395,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11671645736"
    },
    {
      "job": 114221282911,
      "time": 706,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11671915454"
    },
    {
      "job": 114223512286,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11671885732"
    },
    {
      "job": 114223511862,
      "time": 640,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11671466179"
    },
    {
      "job": 114223511879,
      "time": 634,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11671202105"
    },
    {
      "job": 114223511832,
      "time": 537,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11671601626"
    }
  ],
  "_upstream": "https://github.com/csafe-isu/handwriterrf",
  "_commit": {
    "id": "8e4bbaeb52eaf71d7c1b46d05348a614e1b9df1b",
    "author": "Stephanie Reinders <30669200+stephaniereinders@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #47 from ahgamut/uneven-row\n\ndf2 rows assigned incorrectly",
    "time": 1759255492
  },
  "_maintainer": {
    "name": "Stephanie Reinders",
    "email": "reinders.stephanie@gmail.com",
    "login": "stephaniereinders",
    "description": "I am a research scientist at @CSAFE-ISU. ",
    "uuid": 30669200
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "handwriter",
      "version": ">= 3.2.4",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "ranger",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    }
  ],
  "_owner": "csafe-isu",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "stephaniereinders",
      "count": 227,
      "uuid": 30669200
    },
    {
      "user": "ahgamut",
      "count": 1,
      "uuid": 41098605
    }
  ],
  "_userbio": {
    "uuid": 28318210,
    "type": "organization",
    "name": "Center for Statistics and Applications in Forensic Evidence",
    "followers": 20,
    "description": "CSAFE works to build a statistically sound and scientifically solid foundation for the analysis and interpretation of forensic evidence"
  },
  "_downloads": {
    "count": 711,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/handwriterRF"
  },
  "_devurl": "https://github.com/csafe-isu/handwriterrf",
  "_searchresults": 16,
  "_topics": [
    "jags",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/handwriterRF.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/csafe-isu/handwriterrf",
  "_realowner": "csafe-isu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.2",
      "date": "2024-11-03"
    },
    {
      "version": "1.1.0",
      "date": "2025-01-27"
    },
    {
      "version": "1.1.1",
      "date": "2025-01-29"
    }
  ],
  "_exports": [
    "%>%",
    "calculate_slr",
    "compare_documents",
    "compare_writer_profiles",
    "get_cluster_fill_rates",
    "get_distances",
    "get_rates_of_misleading_slrs",
    "get_ref_scores",
    "interpret_slr",
    "plot_scores",
    "train_rf"
  ],
  "_datasets": [
    {
      "name": "cfc",
      "title": "A Dataframe of Cluster Fill Counts",
      "object": "cfc",
      "class": [
        "grouped_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "docname",
        "writer",
        "doc",
        "3",
        "10",
        "12",
        "15",
        "16",
        "17",
        "19",
        "20",
        "23",
        "25",
        "27",
        "39"
      ],
      "rows": 2,
      "table": true,
      "tojson": true
    },
    {
      "name": "random_forest",
      "title": "A 'ranger' Random Forest and Data Frame of Distances",
      "object": "random_forest",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "ref_scores",
      "title": "Reference Similarity Scores",
      "object": "ref_scores",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "templateK40",
      "title": "Cluster Template with 40 Clusters",
      "object": "templateK40",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "test",
      "title": "A Test Set of Cluster Fill Rates",
      "object": "test",
      "class": [
        "data.frame"
      ],
      "fields": [
        "docname",
        "writer",
        "doc",
        "total_graphs",
        "cluster1",
        "cluster2",
        "cluster3",
        "cluster4",
        "cluster5",
        "cluster6",
        "cluster7",
        "cluster8",
        "cluster9",
        "cluster10",
        "cluster11",
        "cluster12",
        "cluster13",
        "cluster14",
        "cluster15",
        "cluster16",
        "cluster17",
        "cluster18",
        "cluster19",
        "cluster20",
        "cluster21",
        "cluster22",
        "cluster23",
        "cluster24",
        "cluster25",
        "cluster26",
        "cluster27",
        "cluster28",
        "cluster29",
        "cluster30",
        "cluster31",
        "cluster32",
        "cluster33",
        "cluster34",
        "cluster35",
        "cluster36",
        "cluster37",
        "cluster38",
        "cluster39",
        "cluster40"
      ],
      "rows": 1699,
      "table": true,
      "tojson": true
    },
    {
      "name": "train",
      "title": "A Training Set of Cluster Fill Rates",
      "object": "train",
      "class": [
        "data.frame"
      ],
      "fields": [
        "docname",
        "writer",
        "doc",
        "total_graphs",
        "cluster1",
        "cluster2",
        "cluster3",
        "cluster4",
        "cluster5",
        "cluster6",
        "cluster7",
        "cluster8",
        "cluster9",
        "cluster10",
        "cluster11",
        "cluster12",
        "cluster13",
        "cluster14",
        "cluster15",
        "cluster16",
        "cluster17",
        "cluster18",
        "cluster19",
        "cluster20",
        "cluster21",
        "cluster22",
        "cluster23",
        "cluster24",
        "cluster25",
        "cluster26",
        "cluster27",
        "cluster28",
        "cluster29",
        "cluster30",
        "cluster31",
        "cluster32",
        "cluster33",
        "cluster34",
        "cluster35",
        "cluster36",
        "cluster37",
        "cluster38",
        "cluster39",
        "cluster40"
      ],
      "rows": 800,
      "table": true,
      "tojson": true
    },
    {
      "name": "validation",
      "title": "A Validation Set of Cluster Fill Rates",
      "object": "validation",
      "class": [
        "data.frame"
      ],
      "fields": [
        "docname",
        "writer",
        "doc",
        "total_graphs",
        "cluster1",
        "cluster2",
        "cluster3",
        "cluster4",
        "cluster5",
        "cluster6",
        "cluster7",
        "cluster8",
        "cluster9",
        "cluster10",
        "cluster11",
        "cluster12",
        "cluster13",
        "cluster14",
        "cluster15",
        "cluster16",
        "cluster17",
        "cluster18",
        "cluster19",
        "cluster20",
        "cluster21",
        "cluster22",
        "cluster23",
        "cluster24",
        "cluster25",
        "cluster26",
        "cluster27",
        "cluster28",
        "cluster29",
        "cluster30",
        "cluster31",
        "cluster32",
        "cluster33",
        "cluster34",
        "cluster35",
        "cluster36",
        "cluster37",
        "cluster38",
        "cluster39",
        "cluster40"
      ],
      "rows": 1200,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "calculate_slr",
      "title": "Calculate a Score-Based Likelihood Ratio",
      "topics": [
        "calculate_slr"
      ]
    },
    {
      "page": "cfc",
      "title": "A Dataframe of Cluster Fill Counts",
      "topics": [
        "cfc"
      ]
    },
    {
      "page": "compare_documents",
      "title": "Compare Documents",
      "topics": [
        "compare_documents"
      ]
    },
    {
      "page": "compare_writer_profiles",
      "title": "Compare Writer Profiles",
      "topics": [
        "compare_writer_profiles"
      ]
    },
    {
      "page": "get_cluster_fill_rates",
      "title": "Get Cluster Fill Rates",
      "topics": [
        "get_cluster_fill_rates"
      ]
    },
    {
      "page": "get_distances",
      "title": "Get Distances",
      "topics": [
        "get_distances"
      ]
    },
    {
      "page": "get_rates_of_misleading_slrs",
      "title": "Get Rates of Misleading Evidence for SLRs",
      "topics": [
        "get_rates_of_misleading_slrs"
      ]
    },
    {
      "page": "get_ref_scores",
      "title": "Get Reference Scores",
      "topics": [
        "get_ref_scores"
      ]
    },
    {
      "page": "interpret_slr",
      "title": "Interpret an SLR Value",
      "topics": [
        "interpret_slr"
      ]
    },
    {
      "page": "plot_scores",
      "title": "Plot Scores",
      "topics": [
        "plot_scores"
      ]
    },
    {
      "page": "random_forest",
      "title": "A 'ranger' Random Forest and Data Frame of Distances",
      "topics": [
        "random_forest"
      ]
    },
    {
      "page": "ref_scores",
      "title": "Reference Similarity Scores",
      "topics": [
        "ref_scores"
      ]
    },
    {
      "page": "templateK40",
      "title": "Cluster Template with 40 Clusters",
      "topics": [
        "templateK40"
      ]
    },
    {
      "page": "test",
      "title": "A Test Set of Cluster Fill Rates",
      "topics": [
        "test"
      ]
    },
    {
      "page": "train",
      "title": "A Training Set of Cluster Fill Rates",
      "topics": [
        "train"
      ]
    },
    {
      "page": "train_rf",
      "title": "Train a Random Forest",
      "topics": [
        "train_rf"
      ]
    },
    {
      "page": "validation",
      "title": "A Validation Set of Cluster Fill Rates",
      "topics": [
        "validation"
      ]
    }
  ],
  "_readme": "https://github.com/csafe-isu/handwriterrf/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "coda",
    "codetools",
    "colorspace",
    "corrplot",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "doParallel",
    "dplyr",
    "farver",
    "foreach",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "ggpubr",
    "ggrepel",
    "ggsci",
    "ggsignif",
    "glue",
    "gridExtra",
    "gtable",
    "handwriter",
    "igraph",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "lpSolve",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mc2d",
    "mgcv",
    "minqa",
    "modelr",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "plyr",
    "png",
    "polynom",
    "purrr",
    "quantreg",
    "R6",
    "ranger",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppParallel",
    "Rdpack",
    "reformulas",
    "reshape2",
    "Rfast",
    "rjags",
    "rlang",
    "rstatix",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zigg",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libjags",
      "package": "jags",
      "headers": "jags",
      "source": "jags",
      "version": "4.3.2-2.2604.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "introduction-to-slr-model.Rmd",
      "filename": "introduction-to-slr-model.html",
      "title": "An Introduction to the SLR Model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Handwriting Data",
        "Writer Profiles",
        "Constucting Reference Similarity Scores with a Random Forest",
        "Training a Random Forest",
        "Calculating Reference Similarity Scores",
        "Compare Two Test Handwriting Samples",
        "Similarity Score",
        "Score-based Likelihood Ratio"
      ],
      "created": "2025-01-25 15:28:01",
      "modified": "2025-01-25 15:28:01",
      "commits": 1
    },
    {
      "source": "training-slr-model.Rmd",
      "filename": "training-slr-model.html",
      "title": "Training an SLR Model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Training Data",
        "Train a Random Forest",
        "Estimate Writer Profiles",
        "Create a Reference Set of Similarity Scores",
        "Compare Documents with New Random Forest and Reference Scores"
      ],
      "created": "2025-01-25 15:28:01",
      "modified": "2025-01-28 20:34:50",
      "commits": 2
    }
  ],
  "_score": 4.982271233039569,
  "_indexed": true,
  "_nocasepkg": "handwriterrf",
  "_universes": [
    "csafe-isu",
    "stephaniereinders"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.1.9000",
      "date": "2026-10-10T13:27:42.000Z",
      "distro": "resolute",
      "commit": "8e4bbaeb52eaf71d7c1b46d05348a614e1b9df1b",
      "fileid": "https://r2.ropensci.org/87b8148a471edcf482a59b9c9d7a81b71fd395c6e928aebabab4285c3853d17c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csafe-isu/actions/runs/38054899667"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.1.9000",
      "date": "2026-10-10T13:27:34.000Z",
      "distro": "resolute",
      "commit": "8e4bbaeb52eaf71d7c1b46d05348a614e1b9df1b",
      "fileid": "https://r2.ropensci.org/77f5796a5f12d1ca5a0cb75b53e0b4c8bdf1472cc492ee83e84e5cb6da405679",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csafe-isu/actions/runs/38054899667"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1.9000",
      "date": "2026-10-10T13:27:05.000Z",
      "commit": "8e4bbaeb52eaf71d7c1b46d05348a614e1b9df1b",
      "fileid": "https://r2.ropensci.org/d7915640925c5a2a00da41600e35016d05796ea32feb0119caedfbc4d3e8b28b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csafe-isu/actions/runs/38054899667"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.1.9000",
      "date": "2026-10-10T13:26:56.000Z",
      "commit": "8e4bbaeb52eaf71d7c1b46d05348a614e1b9df1b",
      "fileid": "https://r2.ropensci.org/de9773c2454934770cd5a224904d15fd3b9863f48df27d0a609906b7cb91819d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csafe-isu/actions/runs/38054899667"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.1.9000",
      "date": "2026-10-10T13:27:49.000Z",
      "commit": "8e4bbaeb52eaf71d7c1b46d05348a614e1b9df1b",
      "fileid": "https://r2.ropensci.org/924efebdcc450b56fba1caedaa2f1dcd3121417d1e196fba1e77351d2ae28385",
      "status": "success",
      "buildurl": "https://github.com/r-universe/csafe-isu/actions/runs/38054899667"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.1.9000",
      "date": "2026-10-10T13:26:42.000Z",
      "commit": "8e4bbaeb52eaf71d7c1b46d05348a614e1b9df1b",
      "fileid": "https://r2.ropensci.org/f93c5a35353c0bccb3cf0e190beca65aa34a9d9ea160ec8201f3c617fb74373d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csafe-isu/actions/runs/38054899667"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.1.9000",
      "date": "2026-10-10T13:26:41.000Z",
      "commit": "8e4bbaeb52eaf71d7c1b46d05348a614e1b9df1b",
      "fileid": "https://r2.ropensci.org/71facfa65721fcbd00e19300bcd91eb71a041a2d8a3ef7530684428ccf55fb69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csafe-isu/actions/runs/38054899667"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.1.9000",
      "date": "2026-10-10T13:26:28.000Z",
      "commit": "8e4bbaeb52eaf71d7c1b46d05348a614e1b9df1b",
      "fileid": "https://r2.ropensci.org/e0207a0a130546fd83250724955492d8945e6b4cfcc2441d93bf768ec8b2160f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csafe-isu/actions/runs/38054899667"
    }
  ]
}