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. Animated gif support is provided but this is optional and functional only if the 'magick' package is installed. 'magick' is not required unless gif functionality is desired.
magickpackage and launch an appropriately configued app in the browser (gif/no gif support and related options).
magickto DESCRIPTION file Suggests field. The package is not required unless you are trying to read a gif image and save a gif meme using
meme_gif. I consider this a minor use case so I have given memes based around gifs a unique function that wraps around
memerather than adding the gif-specific functionality directly to
meme. If using
meme_gif, you will need to install
magickif not already installed.
magickdepends on the ImageMagick software so you will also have to install this dependency on your system. Aside from
meme_gif, there is no need for ImageMagick.
meme_gifaccepts a frames per second argument,
fps, and a frame number argument,
dplyrpackaged removed since it is no longer used (at this time) in examples and tests. This was leading to a
NOTEon Mac builds.
memeryhelp documentation details.
memewhen not installed on the system now fail gracefully, falling back on
sysfontsare now fully loaded ahead of
inset_positionfor additional user control of inset templates.
memelabel positioning and inset plot positioning and background style.
memecode, add/remove arguments, add error checking.