Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/get_templates.r
Get a list of meme templates
1 | get_templates(site = "memecaptain", type = NULL, query = NULL, ...)
|
site |
The site used to generate the meme. This is set by default if |
type |
If |
query |
When |
... |
Additional arguments to |
This function retrieves a list of template images from the specified site, which can then be passed to create_meme
for generating a meme image. The resulting list of objects are of class “meme_template”, which has an associated S3 print
method that will display the template image as a margin-free JPEG plot in the current graphics device.
A list of objects of class “meme_template”.
Thomas J. Leeper
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# use imgflip
t1 <- get_templates("imgflip")
# use memegenerator
t2 <- get_templates("memegenerator")
# use memecaptain
t3 <- get_templates("memecaptain")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.