{
  "_id": "6aedab36818c9e3ef6dc3e7a",
  "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-11-06 10:23:39 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/4e14671a0ad079e3a433f3cddb765ed4a12c7f50e20c325026171f71605acc9e",
  "_filesize": 113945,
  "_sha256": "4e14671a0ad079e3a433f3cddb765ed4a12c7f50e20c325026171f71605acc9e",
  "_expires": "2027-02-14T10:25:57.000Z",
  "_created": "2026-11-06T10:23:39.000Z",
  "_published": "2026-11-06T10:25:58.733Z",
  "_upstream": "https://github.com/christopherkenny/pr",
  "_status": "success",
  "_maintainer": {
    "name": "Christopher T. Kenny",
    "email": "ctkenny@proton.me",
    "orcid": "0000-0002-9386-6860"
  },
  "_jobs": [
    {
      "job": 127840498187,
      "time": 104,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13493854830"
    },
    {
      "job": 127840498142,
      "time": 98,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13495032032"
    },
    {
      "job": 127840498098,
      "time": 97,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13494173652"
    },
    {
      "job": 127840497916,
      "time": 97,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13494807299"
    },
    {
      "job": 127839492462,
      "time": 136,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13495610313"
    },
    {
      "job": 127840498116,
      "time": 80,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13494238993"
    },
    {
      "job": 127840497977,
      "time": 56,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13494219138"
    },
    {
      "job": 127840497943,
      "time": 61,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13494572816"
    },
    {
      "job": 127840498274,
      "time": 63,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13495007649"
    }
  ],
  "_buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/42202014222",
  "_commit": {
    "id": "66ab321dcab7d60af3f5764477000b3e87e15e53",
    "author": "Christopher T. Kenny <ctk44@cornell.edu>",
    "committer": "Christopher T. Kenny <ctk44@cornell.edu>",
    "message": "use ctktemplate pkgdown theme",
    "time": 1777652127
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 160,
    "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.2",
  "_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-11-06T10:25:24.000Z",
      "distro": "resolute",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/743bc9d498577b93b9c364c188d6c2560b3faacbf53e4f47b3455235598dfb49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/42202014222"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-11-06T10:25:23.000Z",
      "distro": "resolute",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/2527245cfd41029783dfd4cb8608d9a00dd830051b48bcf00f71ffcc53b1d3ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/42202014222"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-11-06T10:25:14.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/fb80faba9a9eb85d8807da4dc08215c8c256946e28288033c8707dff0cd25a23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/42202014222"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-11-06T10:25:20.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/8ab9f3c8c9ef60057e3e82ec19c247ac5ab27395dcaf87558bd0066001beed55",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/42202014222"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-11-06T10:25:14.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/0788b7a24cbf66ea50bf92ded03844e3cbc8b73d454ad8af38d54f7869d80c83",
      "status": "success",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/42202014222"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-11-06T10:24:35.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/8cf4eacfd2cb904ead8499973f0c65d9dad892ed75dc2746be791c61015e34a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/42202014222"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-11-06T10:24:39.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/d9cdabbaac2c2e17908e241df80275f70341bbeb761522aab8b5af9ba602b423",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/42202014222"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-11-06T10:24:41.000Z",
      "commit": "66ab321dcab7d60af3f5764477000b3e87e15e53",
      "fileid": "https://r2.ropensci.org/cf498fc2e2cc3a69e68f61db52321f62879ce76ee86d9ac0dc4a01e455b5480e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/42202014222"
    }
  ]
}