R/construct_web_report.R

Defines functions construct_web_report

Documented in construct_web_report

#' construct_web_report
#'
#' Adds the necessary templates for making web reports at the Urban
#'   Institute. Adds a web report template, stylesheet, and
#'   instructions.
#'
#' @inheritParams construct_fact_sheet_html
#'
#' @md
#' @export
construct_web_report <- function(name = "web_report.Rmd",
                                 directory = NULL,
                                 instructions = TRUE) {

  use_git_ignore_urbn(gitignore = "web_report", open = FALSE)
  use_web_report(name = name, directory = directory)
  use_css(stylesheet = "web_report", open = FALSE)
  if (instructions) {
    use_instructions(instructions = "web_report")
  }
}
UrbanInstitute/urbntemplates documentation built on April 27, 2022, 4:35 a.m.