flair

Give your code some pizzaz

By Kelly Bodwin in R package r4edu

January 25, 2021

Co-authors: Hunter Glanz

flair hex

flair is a package for adding highlighting and annotation to the source code chunks produced by R Markdown.


About

The goal of flair is to give users an easy and reproducible way to change the colors and highlighting in source code chunks. For example,

iris %>%
group_by(Species) %>%
summarize(mean(Sepal.Length))

#> # A tibble: 3 x 2
#>   Species    `mean(Sepal.Length)`
#>   <fct>                     <dbl>
#> 1 setosa                     5.01
#> 2 versicolor                 5.94
#> 3 virginica                  6.59

Learn More

Posted on:
January 25, 2021
Length:
1 minute read, 106 words
Categories:
R package r4edu
Tags:
r4edu
See Also:
decodeR
templar
Shindig