knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(geombeer)
geom_beer
geom_beer
is a function in the geombeer
package which creates cool images of refreshing alcoholic beverages and yummy bar food. This was mainly built for my R Shiny app but I think anyone can enjoy this package. The ggplot2
package is used under the the hood to create these images.
You can install from GitHub with:
devtools::install_github("andr3wli/geombeer")
This function works with ggplot2
to create an image of a nice cold beer.
library(ggplot2) ggplot() + geom_beer() + theme_void()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.