Skip to content

memery

Internet Memes for Data Analysts

v0.6.0 · Sep 11, 2024 · MIT + file LICENSE

Description

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.

Downloads

CRAN

347

Last 30 days

12716th

800

Last 90 days

3.9K

Last year

Trend: +87.6% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

22

Last 90 days

82

Last year

Trend: -100% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘memery-Ex.R’ failed
The error occurred in:


R Under development (unstable) (2026-06-05 r90111) -- "Unsuffered Consequences"
Copyright (C) 2026 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu

R is free s
...[truncated]...
espace() for 'showtext', details:
  call: utils::unzip(font_file, exdir = out_dir, overwrite = FALSE)
  error: cannot open file '/tmp/Rtmpc2mBgL/wqy-microhei.ttc': No space left on device
Error: package ‘showtext’ could not be loaded
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code intelligence has not been computed for this package yet.

Code

Structure

Lines of code

1,331

Files

25

Compiled share

0%

Has compiled src

No

Language breakdown

R 659 (49.5%)Tests 137 (10.3%)Docs 535 (40.2%)

API

Exported functions

9

Internal functions

5

Testing & CI

Has tests

Yes

Test-to-code ratio

0.21

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

20%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

12

First release

2017-11-09

Latest release

2024-09-11

Avg cadence

79 days

Cold removal rate

Dep drift

5

LOC over versions

v0.3.0: 930 LOCv0.3.1: 976 LOCv0.4.0: 1,246 LOCv0.4.1: 1,247 LOCv0.4.2: 1,248 LOCv0.5.0: 1,438 LOCv0.5.2: 1,407 LOCv0.5.3: 1,426 LOCv0.5.4: 1,433 LOCv0.5.6: 1,241 LOCv0.5.7: 1,243 LOCv0.6.0: 1,331 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies showtext sysfonts png jpeg Cairo ggplot2 cowplot magrittr purrr shiny shinycssloaders shinyBS colourpicker memery

Version History

13 tracked
new 0.6.0 Mar 10, 2026
updated 0.6.0 ← 0.5.7 diff Sep 11, 2024
updated 0.5.7 ← 0.5.6 diff Sep 9, 2023
updated 0.5.6 ← 0.5.4 diff Feb 14, 2021
updated 0.5.4 ← 0.5.3 diff Jan 28, 2021
updated 0.5.3 ← 0.5.2 diff Jan 24, 2021
updated 0.5.2 ← 0.5.0 diff Apr 18, 2019
updated 0.5.0 ← 0.4.2 diff May 17, 2018
updated 0.4.2 ← 0.4.1 diff Feb 12, 2018
updated 0.4.1 ← 0.4.0 diff Feb 11, 2018
updated 0.4.0 ← 0.3.1 diff Feb 1, 2018
updated 0.3.1 ← 0.3.0 diff Nov 13, 2017
new 0.3.0 Nov 8, 2017