Use R for Fun
Overview
A collection of R games and other funny stuff, such as the classic Mine sweeper and sliding puzzles.
- Re-saved the data
tagDatafor R >= 3.5.0. - Added suggested packages (used in demos) in the DESCRIPTION file per CRAN's request.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 12includes a package overview page
- Examples that run
- 83%10 run in a plain check (4 of them under a condition) · 2 never run
- Exported functions with examples
- 100%
- Documented parameters
- 97%
- Return-value docs
- 60%
- Help pages citing references
- 58%
Also includes 9 demo scripts (run with demo())
Downloads
Repository
- PRs merged (all time)
- 80%
- Median days to close, 50 most recently updated closed issues
- 31
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/yihui/fun on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
The repository owner accepts GitHub Sponsors
Dependencies
Installing fun adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.4Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.32020-10-23 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.22018-12-05 · diff ↗
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
Show 5 earlier eventsHide 5 earlier events
- RR 3.0.0 released · 2013-04-03
- RR 2.15.0 released · 2012-03-30
- RR 2.14.0 released · 2011-10-31
- 0.1-02011-08-12
- RR 2.13.0 released · 2011-04-13
Package metadata
- First published
- 2011-08-12
- Total releases
- 4 / 15 yrs
- License
- GPL
- Minimum R
- ≥ 3.5.0
- Bundled data
- 1.4 KB / 1 file
- Download size
- 53 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("fun")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.