#' getXMLNode
#'
#' Parse the hpr file
#'
#' @param hprfile Path to hpr file
#' @return object of class XMLNode, parsed from the hpr file
#' @references https://cran.r-project.org/web/packages/XML/XML.pdf
#' @export
getXMLNode=function(hprfile){
if(!endsWith(hprfile,'.hpr')){
stop('Input file does not seem to be .hpr')
}
require(XML)
return(xmlRoot(xmlTreeParse(hprfile, getDTD = F)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.