#'Get Revticulate History
#'
#'Return the history of RevBayes code submitted with doRev() and similar functions
#'
#'@import comprehenr
#'
#'@return lines - character. A vector of the line-by-line Revticulate history
#'
#'@examples
#' \dontrun{
#' getRevHistory()
#'
#' cat(getRevHistory(), sep="\n")
#' }
#'
#'@export
#'
getRevHistory <- function(){
lines <- readLines(Sys.getenv("revHistory"), warn = FALSE)
return(lines)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.