Skip to content

tidydice

Simulates Dice Rolls and Coin Flips

v1.0.0 · Feb 3, 2023 · GPL-3

Description

Utils for basic statistical experiments, that can be used for teaching introductory statistics. Each experiment generates a tibble. Dice rolls and coin flips are simulated using sample(). The properties of the dice can be changed, like the number of sides. A coin flip is simulated using a two sided dice. Experiments can be combined with the pipe-operator.

Downloads

CRAN

257

Last 30 days

18505th

632

Last 90 days

2.5K

Last year

Trend: +57.7% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

24

Last 90 days

99

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

1

Last 7 days

7

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘tidydice.Rmd’ using rmarkdown

Quitting from tidydice.Rmd:31-35 [unnamed-chunk-1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in 
...[truncated]...
cessing vignette 'tidydice.Rmd' failed with diagnostics:
there is no package called 'explore'
--- failed re-building ‘tidydice.Rmd’

SUMMARY: processing the following file failed:
  ‘tidydice.Rmd’

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Code metrics have not been computed for this package yet.

Dependency Network

Dependencies Reverse dependencies assertthat dplyr ggplot2 magrittr purrr stringr tibble tidyr tidydice

Version History

6 tracked
new 1.0.0 Mar 10, 2026
updated 1.0.0 ← 0.1.1 diff Feb 2, 2023
updated 0.1.1 ← 0.0.6 diff Apr 18, 2021
updated 0.0.6 ← 0.0.4 diff Jan 8, 2020
updated 0.0.4 ← 0.0.3 diff Nov 25, 2019
new 0.0.3 Nov 14, 2019