R/brief_pdf.R

Defines functions brief_pdf

Documented in brief_pdf

#' Title
#'
#' @param html
#'
#' @return
#' @export
#'
#' @examples
brief_pdf <- function(html) {

  writeLines(html, 'brief.html')

  cmd <- sprintf('xvfb-run --server-args="-screen 0, 1024x768x24" wkhtmltopdf brief.html brief.pdf')

  system(cmd)
}
mathematica-mpr/edtechrce documentation built on Nov. 10, 2019, 9:19 a.m.