{
  "_id": "6a49df292c82cd361482501c",
  "Package": "tidydice",
  "Type": "Package",
  "Title": "Simulates Dice Rolls and Coin Flips",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(\"Roland\", \"Krasser\", role = c(\"aut\", \"cre\"),\nemail = \"roland.krasser@gmail.com\"),\nperson(\"Giovanni Marco\", \"Dall'Olio\", role = \"aut\")\n)",
  "Author": "Roland Krasser",
  "Maintainer": "Roland Krasser <roland.krasser@gmail.com>",
  "Description": "Utils for basic statistical experiments, that can be used\nfor teaching introductory statistics. Each experiment generates\na tibble. Dice rolls and coin flips are simulated using\nsample(). The properties of the dice can be changed, like the\nnumber of sides. A coin flip is simulated using a two sided\ndice. Experiments can be combined with the pipe-operator.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "URL": "http://github.com/rolkra/tidydice",
  "RoxygenNote": "7.2.1",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://rolkra.r-universe.dev",
  "Date/Publication": "2023-02-02 21:02:49 UTC",
  "RemoteUrl": "https://github.com/rolkra/tidydice",
  "RemoteRef": "HEAD",
  "RemoteSha": "7d451caa27baa7351664693cd64cd60993a15ce2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-15 11:20:55 UTC",
    "User": "root"
  },
  "_user": "rolkra",
  "_type": "src",
  "_file": "tidydice_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/9cf893ed32751857ad0304efbe62daac6ad63ea1066d48dfd15abc76e8e16866",
  "_filesize": 1081908,
  "_sha256": "9cf893ed32751857ad0304efbe62daac6ad63ea1066d48dfd15abc76e8e16866",
  "_expires": "2026-10-13T04:35:51.000Z",
  "_created": "2026-06-15T11:20:55.000Z",
  "_published": "2026-07-05T04:35:53.234Z",
  "_jobs": [
    {
      "job": 85192935860,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7636623124"
    },
    {
      "job": 85192935760,
      "time": 164,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7636620643"
    },
    {
      "job": 85192935801,
      "time": 155,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7636617305"
    },
    {
      "job": 85192935823,
      "time": 147,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7636614477"
    },
    {
      "job": 85192935723,
      "time": 225,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7636560521"
    },
    {
      "job": 85192935777,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7636606426"
    },
    {
      "job": 85192935846,
      "time": 126,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7636608241"
    },
    {
      "job": 85192935866,
      "time": 112,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7636602559"
    },
    {
      "job": 85192935820,
      "time": 118,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7636603936"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/rolkra/actions/runs/27542542156",
  "_status": "success",
  "_upstream": "https://github.com/rolkra/tidydice",
  "_commit": {
    "id": "7d451caa27baa7351664693cd64cd60993a15ce2",
    "author": "Roland Krasser <roland.krasser@gmail.com>",
    "committer": "Roland Krasser <roland.krasser@gmail.com>",
    "message": "fix plot_coin example\n",
    "time": 1675371769
  },
  "_maintainer": {
    "name": "Roland Krasser",
    "email": "roland.krasser@gmail.com",
    "login": "rolkra",
    "description": "",
    "uuid": 31808268
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "explore",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "rolkra",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "rolkra",
      "count": 84,
      "uuid": 31808268
    },
    {
      "user": "giovannibenevolent",
      "count": 13,
      "uuid": 114916682
    }
  ],
  "_userbio": {
    "uuid": 31808268,
    "type": "user",
    "name": "rolkra",
    "followers": 49
  },
  "_downloads": {
    "count": 231,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tidydice"
  },
  "_devurl": "https://github.com/rolkra/tidydice",
  "_searchresults": 31,
  "_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/readme.html",
    "extra/readme.md",
    "extra/tidydice.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/rolkra/tidydice",
  "_realowner": "rolkra",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.3",
      "date": "2019-11-15"
    },
    {
      "version": "0.0.4",
      "date": "2019-11-26"
    },
    {
      "version": "0.0.6",
      "date": "2020-01-09"
    },
    {
      "version": "0.1.1",
      "date": "2021-04-19"
    },
    {
      "version": "1.0.0",
      "date": "2023-02-03"
    }
  ],
  "_exports": [
    "binom",
    "binom_coin",
    "binom_dice",
    "flip_coin",
    "force_coin",
    "force_dice",
    "parse_dice_formula",
    "plot_binom",
    "plot_coin",
    "plot_dice",
    "roll_dice",
    "roll_dice_formula"
  ],
  "_help": [
    {
      "page": "binom",
      "title": "Binomial distribution as table.",
      "topics": [
        "binom"
      ]
    },
    {
      "page": "binom_coin",
      "title": "Binomial distribution of flipping a coin.",
      "topics": [
        "binom_coin"
      ]
    },
    {
      "page": "binom_dice",
      "title": "Binomial distribution of rolling a dice.",
      "topics": [
        "binom_dice"
      ]
    },
    {
      "page": "circle_points",
      "title": "Helper function to draw a circle",
      "topics": [
        "circle_points"
      ]
    },
    {
      "page": "flip_coin",
      "title": "Simulating flipping a coin.",
      "topics": [
        "flip_coin"
      ]
    },
    {
      "page": "force_coin",
      "title": "Force a coin flipping result.",
      "topics": [
        "force_coin"
      ]
    },
    {
      "page": "force_dice",
      "title": "Force a dice rolling result.",
      "topics": [
        "force_dice"
      ]
    },
    {
      "page": "parse_dice_formula",
      "title": "Given a dice formula string, split it and return a dataframe with the list of functions.",
      "topics": [
        "parse_dice_formula"
      ]
    },
    {
      "page": "parse_dice_formula_part",
      "title": "Helper function to parse a dice formula",
      "topics": [
        "parse_dice_formula_part"
      ]
    },
    {
      "page": "plot_binom",
      "title": "Plot a binomial distribution.",
      "topics": [
        "plot_binom"
      ]
    },
    {
      "page": "plot_coin",
      "title": "Plot result of flip_coin()",
      "topics": [
        "plot_coin"
      ]
    },
    {
      "page": "plot_dice",
      "title": "Plot result of roll_dice()",
      "topics": [
        "plot_dice"
      ]
    },
    {
      "page": "plot_single_coin",
      "title": "Draw a single coin",
      "topics": [
        "plot_single_coin"
      ]
    },
    {
      "page": "plot_single_dice",
      "title": "Draw a single dice",
      "topics": [
        "plot_single_dice"
      ]
    },
    {
      "page": "roll_dice",
      "title": "Simulating rolling a dice.",
      "topics": [
        "roll_dice"
      ]
    },
    {
      "page": "roll_dice_formula",
      "title": "Simulating rolling a dice, using a formula",
      "topics": [
        "roll_dice_formula"
      ]
    },
    {
      "page": "top_n_dice",
      "title": "Helper function to get sum of top n dice",
      "topics": [
        "top_n_dice"
      ]
    }
  ],
  "_readme": "https://github.com/rolkra/tidydice/raw/HEAD/README.md",
  "_rundeps": [
    "assertthat",
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "tidydice.Rmd",
      "filename": "tidydice.html",
      "title": "tidydice",
      "author": "Roland Krasser",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Setup",
        "Roll a dice",
        "Example",
        "Roll a dice once",
        "Define success",
        "Unfair dice",
        "Untypically dice",
        "Roll a dice 4 times",
        "Define rounds",
        "Use agg",
        "Visualise result",
        "Visualise success",
        "Combine experiments",
        "Binomial distribution",
        "Flip a coin",
        "Flip a coin 10x",
        "Binomial Distribution",
        "Dice design",
        "Default settings",
        "Change color",
        "Dice type",
        "Limits",
        "Force",
        "Using Dice Formula"
      ],
      "created": "2019-11-01 21:11:11",
      "modified": "2023-02-01 18:13:22",
      "commits": 20
    }
  ],
  "_score": 5.035429738184549,
  "_indexed": true,
  "_nocasepkg": "tidydice",
  "_universes": [
    "rolkra"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-15T11:23:23.000Z",
      "distro": "noble",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "https://r2.ropensci.org/af4f9dc3b1a8ccba86b7557424c856488dfe7ca27f5ad4b9b731a6670caf4496",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/27542542156"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-15T11:23:23.000Z",
      "distro": "noble",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "https://r2.ropensci.org/dae1d7f89cda42cf10d0d41d7f935d4260718822fb07f9a6f05a32705dfec910",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/27542542156"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-15T11:23:13.000Z",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "https://r2.ropensci.org/f4ab5e585b5ac1df34bd09ea44c5817aacf0de1edeeb695061bc8eccceac2a18",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/27542542156"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-15T11:23:02.000Z",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "https://r2.ropensci.org/b168d4b987549b881b6e9532ead8ff54907b8f4ca5a6f383c1cf2f3a52421e55",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/27542542156"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-15T11:23:18.000Z",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "https://r2.ropensci.org/0eb20a2cf4f96291c21dc65d5cdb8c6d17f033affc128dcec2707a5019ef8b5c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/27542542156"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-15T11:22:43.000Z",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "https://r2.ropensci.org/02bf8dc7ac60b54b1e0ad0ff87a09692d670048d03d8c658f349b2be114ccf9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/27542542156"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-15T11:22:28.000Z",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "https://r2.ropensci.org/e00ac96f5caf97fedd312915f61294a0828e4506fc62aba94d4a16f023d39ba4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/27542542156"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-15T11:22:29.000Z",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "https://r2.ropensci.org/9f91832e4c959344a6ecc22ee675eb39973a8d253c71a6ada1b5b124aa340fe4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/27542542156"
    }
  ]
}