memery: Internet Memes for Data Analysts

Generates internet memes that optionally include a superimposed inset plot and other atypical features, combining the visual impact of an attention-grabbing meme with graphic results of data analysis. The package differs from related packages that focus on imitating and reproducing standard memes. Some packages do this by interfacing with online meme generators whereas others achieve this natively. This package takes the latter approach. It does not interface with online meme generators or require any authentication with external websites. It reads images directly from local files or via URL and meme generation is done by the package. While this is similar to the 'meme' package available on CRAN, it differs in that the focus is on allowing for non-standard meme layouts and hybrids of memes mixed with graphs. While this package can be used to make basic memes like an online meme generator would produce, it caters primarily to hybrid graph-meme plots where the meme presentation can be seen as a backdrop highlighting foreground graphs of data analysis results. The package also provides support for an arbitrary number of meme text labels with arbitrary size, position and other attributes rather than restricting to the standard top and/or bottom text placement. This is useful for proper aesthetic interleaving of plots of data between meme image backgrounds and overlain text labels. The package offers a selection of templates for graph placement and appearance with respect to the underlying meme. Graph templates also permit additional template-specific customization.

Version: 0.3.1
Depends: showtext
Imports: sysfonts, grid, png, jpeg, Cairo, ggplot2, cowplot, magrittr, purrr
Suggests: testthat, knitr, rmarkdown, covr
Published: 2017-11-14
Author: Matthew Leonawicz [aut, cre]
Maintainer: Matthew Leonawicz <mfleonawicz at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: NEWS
CRAN checks: memery results


Reference manual: memery.pdf
Vignettes: Introduction to memery
Package source: memery_0.3.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: memery_0.3.1.tgz
OS X Mavericks binaries: r-oldrel: memery_0.3.1.tgz
Old sources: memery archive


Please use the canonical form to link to this page.