#' @export
#' @noRd
#' @importFrom rmarkdown render
#' @importFrom here here
render_metadata <-
function(data_path, geometries_path, output_file) {
rmarkdown::render(
(system.file("pti-metadata-pdf.Rmd", package = "devPTIpack")),
# here(".", "inst", "pti-metadata-pdf.Rmd"),
output_file = output_file,
params = list(mtdt_path = data_path, bond_path = geometries_path)
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.