praise_with_giphy: Get a praise template with a gif

Description Usage Arguments

View source: R/package.R

Description

Pairs praise::praise with a gif using giphy's search. Returns a praise_giphy object, which prints the html needed to embed the document (and prints in a knitr document).

Usage

1
2
praise_with_giphy(template = "You are ${adjective}!", rating = "g",
  size = "downsized_medium")

Arguments

template

The template string. See praise::praise for more details.

rating

Giphy's MPAA rating filter. Available options are: "y", "g", "pg", "pg-13" and "r".

size

Giphy's rendition class. Some available options are "original" (original size), "downsized_medium" (file size under 5mb), and others. See the Giphy API for more details.


gergness/giphypraise documentation built on May 17, 2019, 2:10 a.m.