{
  "_id": "6ace04d2a14063b82c3ae89d",
  "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-10-13 10:12:29 UTC",
    "User": "root"
  },
  "_user": "rolkra",
  "_type": "src",
  "_file": "tidydice_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/7957dae2f9c2506b8304c2d3fc61a3f7ce5e8d30266c2fe45a181fc649fa2545",
  "_filesize": 1083265,
  "_sha256": "7957dae2f9c2506b8304c2d3fc61a3f7ce5e8d30266c2fe45a181fc649fa2545",
  "_expires": "2027-01-21T10:15:44.000Z",
  "_created": "2026-10-13T10:12:29.000Z",
  "_published": "2026-10-13T10:15:46.671Z",
  "_buildurl": "https://github.com/r-universe/rolkra/actions/runs/38381360037",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115243819167,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11804205506"
    },
    {
      "job": 115243819237,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11803776548"
    },
    {
      "job": 115243819142,
      "time": 138,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11804195516"
    },
    {
      "job": 115243819209,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11804280386"
    },
    {
      "job": 115242445094,
      "time": 209,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11803980874"
    },
    {
      "job": 115243819165,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11803359185"
    },
    {
      "job": 115243819182,
      "time": 158,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11803512608"
    },
    {
      "job": 115243819126,
      "time": 91,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11803771444"
    },
    {
      "job": 115243819074,
      "time": 100,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11803916011"
    }
  ],
  "_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": "resolute",
  "_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": 256,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tidydice"
  },
  "_devurl": "https://github.com/rolkra/tidydice",
  "_searchresults": 31,
  "_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/readme.html",
    "extra/readme.md",
    "extra/tidydice.html"
  ],
  "_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-10-13T10:14:40.000Z",
      "distro": "resolute",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "https://r2.ropensci.org/89830aa76eaab709b9b842f647e09d4679ecbd17db6ac4f71e48818dd21befac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/38381360037"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-13T10:14:35.000Z",
      "distro": "resolute",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "https://r2.ropensci.org/64280c10494d040cc6f8a0d6cd96f8e2f78b3dc2b17fe3e31069a0fafb4e3977",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/38381360037"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-13T10:14:45.000Z",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "https://r2.ropensci.org/47b5f64d5564b98d0db6e05258d4eebf481f375bce43520ade9130a5dd0a2f1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/38381360037"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-13T10:14:25.000Z",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "https://r2.ropensci.org/ec7cae2a2fe3d07974cb79019c4099ee33f6bbb2d2f1100286db56ae4ce50fa2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/38381360037"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-13T10:14:37.000Z",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "https://r2.ropensci.org/c7279a18e23b207725034b3997e15ab0851114dddd0befd2cd84c61375038671",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/38381360037"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-13T10:14:49.000Z",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "https://r2.ropensci.org/33fc6992efbafbebb31b830b71bdd4c1d178e1e042cda040e333c8d77c223fb7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/38381360037"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-13T10:13:40.000Z",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "https://r2.ropensci.org/d9b356a2024c4221d3fcd0a60c6f1dcbf4c61b4d570cc0b36e07d5b712ff09ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/38381360037"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-13T10:13:48.000Z",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "https://r2.ropensci.org/9eec219e8b3c5168024a8b7ba55993dabf060ffd8847634ea7a8f9b4beb9e6dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/38381360037"
    }
  ]
}