Create a draft of an R Markdown NAFO document

draft(
  report_type = c("SCR", "STACFIS", "SCS"),
  create_dir = FALSE,
  edit = FALSE,
  ...
)

Arguments

report_type

The type of report to start.

create_dir

TRUE to create a new directory for the document.

edit

TRUE to edit the template immediately.

...

Other arguments to pass to rmarkdown::draft().

Details

This is a light wrapper around rmarkdown::draft(). Consult that function for further details.

Examples

if (FALSE) {
NAFOdown::draft("SCR")
}