R/getmeme.R

#' get meme
#'
#' Gets the link for a doge meme in which you can change the words. Just input three words and the meme will be generated
#'
#' @param x words for the meme generator
#' @return doge meme
#' @export
#' @examples
#' getmeme(c("wow", "nice", "function"))
getmeme <- function(x){
	stopifnot(is.character(x))
	x <-  paste(x, collapse ="/")
	sprintf("![](http://dogr.io/%s.png)", x)
}
bdacunha/randompic documentation built on May 12, 2019, 3:39 a.m.