Quick meme making in R

Source: Create Bart Simpson Blackboard Memes with R

knitr::opts_chunk$set(echo = TRUE)

library("meme")
## Warning: package 'meme' was built under R version 4.0.3
if (.Platform$OS.type == "windows") {
  windowsFonts(Comic = windowsFont("Comic Sans MS"))
}
bart <- "bart_simpson_chalkboard-5157.gif" # source: http://free-extras.com/images/bart_simpson_chalkboard-5157.htm
text <- paste(rep("I will not procrastinate \n in grant writing \n by making memes in R instead", 2), collapse = "\n")
meme(bart, text, size = 2, font = "Comic")