R/papaya_div.R

Defines functions papaya_div

Documented in papaya_div

#' @title Papaya Div element output
#' @description Get the necessary div output for embedding a papaya image
#' @return Character string
#' @export
#'
#' @examples
#' papaya_div()
papaya_div = function(){
  index.file <- system.file("embed.html", package="papayar")
  x = readLines(index.file)
  x = x[length(x)]
  return(x)
}

Try the papayar package in your browser

Any scripts or data that you put into this service are public.

papayar documentation built on May 1, 2019, 10:52 p.m.