Skip to contents

Prints a simple ASCII grid showing how many challenges you passed each day over the last 28 days, similar in spirit to GitHub's contribution graph.

Usage

rg_heatmap()

Value

Invisibly, a character vector of the rendered symbols.

Examples

old_opt <- options(rgrind.storage_dir = tempdir())
rg_heatmap()
#> 
#> ── Last 28 Days 
#> · · · · · · ·
#> · · · · · · ·
#> · · · · · · ·
#> · · · · · · ·
#> 
#> · none ▪ 1 ▓ 2-3 █ 4+
options(old_opt)