{
  "_id": "6ac62f40f511ae58c09a74e4",
  "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-10-07 09:26:46 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/4a0b0a7900df3c30324b57cf9328ab648ba088b77b27e2ef79ead17c7eb37e54",
  "_filesize": 114116,
  "_sha256": "4a0b0a7900df3c30324b57cf9328ab648ba088b77b27e2ef79ead17c7eb37e54",
  "_expires": "2027-01-15T11:38:38.000Z",
  "_created": "2026-10-07T09:26:46.000Z",
  "_published": "2026-10-07T11:38:40.416Z",
  "_buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/37598436047",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 112724049126,
      "time": 111,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11473276337"
    },
    {
      "job": 112724049174,
      "time": 98,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11473071601"
    },
    {
      "job": 112724049155,
      "time": 110,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11479623549"
    },
    {
      "job": 112724049224,
      "time": 101,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11478434168"
    },
    {
      "job": 112719788113,
      "time": 219,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11471769889"
    },
    {
      "job": 112724049091,
      "time": 88,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11473131461"
    },
    {
      "job": 112724049161,
      "time": 73,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11473235325"
    },
    {
      "job": 112724049135,
      "time": 65,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11473470385"
    },
    {
      "job": 112724049158,
      "time": 90,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11473115934"
    }
  ],
  "_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": 156,
    "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": 28,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/pr.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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.845098040014257,
  "_indexed": true,
  "_nocasepkg": "pr",
  "_universes": [
    "christopherkenny"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-10-07T09:35:05.000Z",
      "distro": "resolute",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/5488051617a24b2ed2564c7c81469cee1b6ae19ec77b3d587567a0c988876448",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/37598436047"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-10-07T09:34:52.000Z",
      "distro": "resolute",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/fd391c2d0d4ee1445b58e3ea9644f7ed16c3bde657ce92f2383930cdfea3ed2c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/37598436047"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-10-07T11:35:48.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/279ccd1d5caec6f0788a0d32a30cc617fada90fe0cfc3b97e47dc0cca2978ffd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/37598436047"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-10-07T11:37:58.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/796f4483baed42197117669fd6b20b017826eb7262cbd6747466db36c1b8c66e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/37598436047"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-10-07T09:34:51.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/7d2ea78a81f310ab6c9a66debc9a02608a000c24a20d1cbf2101132a02c9bd0f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/37598436047"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-10-07T09:29:20.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/2654d261116edfd8ea802d245e24be31eaee4911318f90d9d209e38827c6c389",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/37598436047"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-10-07T09:29:18.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/fc8e9ef951bab9d1fd68ab128714a63320020776c12a26ab0a5d4fe584d47169",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/37598436047"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-10-07T09:29:33.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/0bc876fda724fa3c48d9b6457a760d2e220e2bc3557b9f5306abf110c139e726",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/37598436047"
    }
  ]
}