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.

Installation

You can install from GitHub with:

devtools::install_github("andr3wli/geombeer")

Example

This function works with ggplot2 to create an image of a nice cold beer.

library(ggplot2)
ggplot() +
  geom_beer() +
  theme_void()


andr3wli/geombeer documentation built on Dec. 31, 2020, 7:46 p.m.