{
  "_id": "6a1bdb511d7bb097a0a170fe",
  "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-05-31 06:21:12 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>",
  "MD5sum": "d16d9b616d856f735b5d7d07f558f916",
  "_user": "christopherkenny",
  "_type": "src",
  "_file": "pr_0.0.1.tar.gz",
  "_fileid": "70185375295e48fa7e7402ced54f502aabc4711fa57ecd4ede22a9b4e6484af0",
  "_filesize": 113196,
  "_sha256": "70185375295e48fa7e7402ced54f502aabc4711fa57ecd4ede22a9b4e6484af0",
  "_created": "2026-05-31T06:21:12.000Z",
  "_published": "2026-05-31T06:55:13.340Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78705165210,
      "time": 109,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7314389364"
    },
    {
      "job": 78705165239,
      "time": 109,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314389178"
    },
    {
      "job": 78705165238,
      "time": 109,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7314589879"
    },
    {
      "job": 78705165217,
      "time": 79,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314579364"
    },
    {
      "job": 78705026779,
      "time": 149,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314377988"
    },
    {
      "job": 78705165216,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314387827"
    },
    {
      "job": 78705165250,
      "time": 67,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7314385011"
    },
    {
      "job": 78705165235,
      "time": 67,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7314385159"
    },
    {
      "job": 78705165252,
      "time": 60,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314384416"
    }
  ],
  "_buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26705196901",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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",
    "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": 19,
  "_rbuild": "4.6.0",
  "_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",
    "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.6766936096248664,
  "_indexed": true,
  "_nocasepkg": "pr",
  "_universes": [
    "christopherkenny"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-05-31T06:23:08.000Z",
      "distro": "noble",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "737697ffe8329458cbf8c748b9ea15a9a03ea0dd03f56e33aac0d64de4a277e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26705196901"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-05-31T06:23:06.000Z",
      "distro": "noble",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "e2ef95814f11b1fe2b6d99d69b7a038dba1121d40e608ba77e0ce4b62e06aeb3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26705196901"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-05-31T06:54:45.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "55e425e8404766eba11fa698fe83c47c2341d9fdc32b36cd8bf2036c6fc89f0b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26705196901"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-05-31T06:53:03.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "48c2447dfff696e8a0f0e05778b0b99f16018e82f36a09a096d4ceac1a5884c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26705196901"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-05-31T06:23:05.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "a4143ded3f3dab321e68f05c7341e64fa1920a186e01d1300c35f2e68db11c17",
      "status": "success",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26705196901"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-05-31T06:22:20.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "6ac4f88fa9ab657f9628446318b47762365525106ffb8ddc7420bcfefc92d835",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26705196901"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-05-31T06:22:21.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "2780e4bdc1e2ccebcf06958d2e730378dc7a12a95ea6e61bc997856c0dc436ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26705196901"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-05-31T06:22:15.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "6a006b5c853d6017951fbc5ade23459e0225c3e56b7313fdbf55f7015ea24914",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26705196901"
    }
  ]
}