{
  "_id": "6a1f27e2b401979e734230d3",
  "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-05-16 05:30:08 UTC",
    "User": "root"
  },
  "MD5sum": "7fb4531bce578aea2827e328acb12b05",
  "_user": "rolkra",
  "_type": "src",
  "_file": "tidydice_1.0.0.tar.gz",
  "_fileid": "de4e944ae4452c6d6370411e592d8f4ca6279f158b268b6b7546a0a4a74a1c09",
  "_filesize": 1082293,
  "_sha256": "de4e944ae4452c6d6370411e592d8f4ca6279f158b268b6b7546a0a4a74a1c09",
  "_created": "2026-05-16T05:30:08.000Z",
  "_published": "2026-06-02T18:58:42.680Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79148993753,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7030843322"
    },
    {
      "job": 79148993889,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7030843219"
    },
    {
      "job": 79148994342,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7030836607"
    },
    {
      "job": 79148993943,
      "time": 133,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7030838915"
    },
    {
      "job": 79148993275,
      "time": 296,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7030821150"
    },
    {
      "job": 79148993011,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367116753"
    },
    {
      "job": 79148994148,
      "time": 103,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7030835109"
    },
    {
      "job": 79148994141,
      "time": 105,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7030835772"
    },
    {
      "job": 79148993978,
      "time": 94,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7030834244"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rolkra/actions/runs/25953820647",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 31808268
  },
  "_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"
  },
  "_downloads": {
    "count": 196,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tidydice"
  },
  "_devurl": "https://github.com/rolkra/tidydice",
  "_searchresults": 29,
  "_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.006466042249231,
  "_indexed": true,
  "_nocasepkg": "tidydice",
  "_universes": [
    "rolkra"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-16T05:32:43.000Z",
      "distro": "noble",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "60001fde9c6e7b01a4e562d02b0d04588c0215c3f0f341f222351f0bc2dfc308",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/25953820647"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-16T05:32:43.000Z",
      "distro": "noble",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "6c364b2ca987a6baf73529911c24fc9a10bb8397f2a8a01f4908e7d13a06164f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/25953820647"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-16T05:31:58.000Z",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "7ca2c5c273dcd6910d402718cd04142f3f0866459bc9961014913378920728cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/25953820647"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-16T05:32:13.000Z",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "3bdfccd4470189d1a152cd8bddd4cd4d7f3f78fdb22c356651c3de2cf5efc399",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/25953820647"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-16T05:31:32.000Z",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "e716fbdfe8a01cc7e4573c9c1fc0bb336480885586faedd9f61a4075b9c6ec6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/25953820647"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-16T05:31:40.000Z",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "e0b1c78543cd019a54b47da5d1b88ea61c2d02d10e2ee284ab4fa35b0eed21d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/25953820647"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-16T05:31:28.000Z",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "9c32a895f43ebd5d301229b8a711b026c9f2496f5aa959cb43ab51951ac84a8e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/25953820647"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-02T18:58:23.000Z",
      "commit": "7d451caa27baa7351664693cd64cd60993a15ce2",
      "fileid": "ffd4ae5b6638d79abd31a5cec6353d28c3b33843735f51e4259b780296638201",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rolkra/actions/runs/25953820647"
    }
  ]
}