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 CICA package in your browser

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

CICA documentation built on Sept. 11, 2024, 6:33 p.m.