{
  "_id": "6a4f392821b18e15484ff538",
  "Package": "pr",
  "Title": "Classes for Probabilities",
  "Version": "0.0.1",
  "Authors@R": "person(given = \"Christopher T.\",\nfamily = \"Kenny\",\nrole = c(\"aut\", \"cre\"),\nemail = \"ctkenny@proton.me\",\ncomment = c(ORCID = \"0000-0002-9386-6860\"))",
  "Description": "Provides S3 classes to represent probability vectors and\nmatrices using 'vctrs'. Allows for creation, validation, and\npretty printing of each class. Includes a special probability\nmatrix type with counts to allow for cases with limited\npossible values.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "christopherkenny/ctktemplate",
  "Language": "en-US",
  "URL": "https://github.com/christopherkenny/pr,\nhttps://christophertkenny.com/pr/",
  "Repository": "https://christopherkenny.r-universe.dev",
  "Date/Publication": "2026-05-01 16:15:27 UTC",
  "RemoteUrl": "https://github.com/christopherkenny/pr",
  "RemoteRef": "HEAD",
  "RemoteSha": "66ab321dcab7d60af3f5764477000b3e87e15e53",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-09 05:58:31 UTC",
    "User": "root"
  },
  "Author": "Christopher T. Kenny [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9386-6860>)",
  "Maintainer": "Christopher T. Kenny <ctkenny@proton.me>",
  "_user": "christopherkenny",
  "_type": "src",
  "_file": "pr_0.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/5eca4caad665b339f1df25c80ddbed6d87fa84ff3a94f007cdf881d799b6632c",
  "_filesize": 114592,
  "_sha256": "5eca4caad665b339f1df25c80ddbed6d87fa84ff3a94f007cdf881d799b6632c",
  "_expires": "2026-10-17T06:01:10.000Z",
  "_created": "2026-07-09T05:58:31.000Z",
  "_published": "2026-07-09T06:01:12.282Z",
  "_jobs": [
    {
      "job": 86050141744,
      "time": 115,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8190293775"
    },
    {
      "job": 86050141779,
      "time": 112,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8190292796"
    },
    {
      "job": 86050141759,
      "time": 86,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8190286706"
    },
    {
      "job": 86050141760,
      "time": 75,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8190284007"
    },
    {
      "job": 86049790931,
      "time": 169,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8190264064"
    },
    {
      "job": 86050141753,
      "time": 88,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8190287350"
    },
    {
      "job": 86050141778,
      "time": 82,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8190286073"
    },
    {
      "job": 86050141755,
      "time": 63,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8190281356"
    },
    {
      "job": 86050141776,
      "time": 73,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8190283784"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28997367369",
  "_status": "success",
  "_upstream": "https://github.com/christopherkenny/pr",
  "_commit": {
    "id": "66ab321dcab7d60af3f5764477000b3e87e15e53",
    "author": "Christopher T. Kenny <ctk44@cornell.edu>",
    "committer": "Christopher T. Kenny <ctk44@cornell.edu>",
    "message": "use ctktemplate pkgdown theme",
    "time": 1777652127
  },
  "_maintainer": {
    "name": "Christopher T. Kenny",
    "email": "ctkenny@proton.me",
    "orcid": "0000-0002-9386-6860"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "christopherkenny",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 6
    },
    {
      "week": "2025-49",
      "n": 7
    },
    {
      "week": "2025-50",
      "n": 6
    },
    {
      "week": "2026-18",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "christopherkenny",
      "count": 23,
      "uuid": 28026893
    }
  ],
  "_userbio": {
    "uuid": 28026893,
    "type": "user",
    "name": "Christopher T. Kenny",
    "followers": 149,
    "description": "Postdoc @princeton-ddss.\r\nRedistricting and rstats.  \r\n\r\nHarvard Government PhD '25.   \r\nCornell '19."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pr"
  },
  "_devurl": "https://github.com/christopherkenny/pr",
  "_pkgdown": "https://christophertkenny.com/pr/",
  "_searchresults": 30,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/pr.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "as_prob",
    "cnt_prob_mat",
    "is_prob",
    "prob",
    "prob_mat",
    "prob_mat_from_matrix",
    "validate_cnt_prob_mat",
    "validate_prob",
    "validate_prob_mat",
    "vec_cast.prob",
    "vec_ptype2.prob"
  ],
  "_help": [
    {
      "page": "cnt_prob_mat",
      "title": "Create a probability matrix with counts record",
      "topics": [
        "cnt_prob_mat",
        "validate_cnt_prob_mat"
      ]
    },
    {
      "page": "prob",
      "title": "Create a probability vector",
      "topics": [
        "as_prob",
        "is_prob",
        "prob",
        "validate_prob"
      ]
    },
    {
      "page": "prob_mat",
      "title": "Create a probability matrix record",
      "topics": [
        "prob_mat",
        "validate_prob_mat"
      ]
    },
    {
      "page": "prob_mat_from_matrix",
      "title": "Convert matrix into prob_mat",
      "topics": [
        "as.matrix.prob_mat",
        "prob_mat_from_matrix"
      ]
    }
  ],
  "_pkglogo": "https://github.com/christopherkenny/pr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/christopherkenny/pr/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "glue",
    "lifecycle",
    "rlang",
    "vctrs"
  ],
  "_score": 2.8750612633917,
  "_indexed": true,
  "_nocasepkg": "pr",
  "_universes": [
    "christopherkenny"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-07-09T06:00:33.000Z",
      "distro": "resolute",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/6ab2f83382c46ade1909948c370c5320669dae65922de02a0d484f9785c20bae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28997367369"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-07-09T06:00:29.000Z",
      "distro": "resolute",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/c356de883b394a036ffbb151cbe5839c9a320fc002b686f23426e88c7ef611fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28997367369"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-07-09T06:00:07.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/42c6347eab5e99bbc385e252cc9e667841705a0a5089ba449a634f3df8170698",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28997367369"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-07-09T05:59:55.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/f8ae79bf9c901767a38b8fab6a72432e845f80b6dde19f90ce6c2e4a247021ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28997367369"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-07-09T06:00:18.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/35839d7d3c3071e58cca585a0f2cb0e2a0cbb6fbe30d9b07bf3a009b0edf2c95",
      "status": "success",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28997367369"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-07-09T05:59:56.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/8ef16e7d1da33ce35bd4c3fb755e607ca653b2afa6c9bf1309c73bcfcef6c789",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28997367369"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-07-09T05:59:36.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/cbe5050fd5912358f1905b75dd13530d3cb6d0a1d34715f952f3ad60e6357b8d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28997367369"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-07-09T05:59:45.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/cb72e754b1a69a6c4d7d690a02e8d94df993a68ea85cabdd39a255b35c4fc8b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28997367369"
    }
  ]
}