new_rmd: Open a new editor with the Rmarkdown skeleton

View source: R/new.R

new_rmdR Documentation

Open a new editor with the Rmarkdown skeleton

Description

The govukhugo package includes a skeleton Rmarkdown file, which can be easily selected via the RStudio GUI. new_rmd() allows you to open a new RStudio editor with a copy of the skeleton via the console.

Usage

new_rmd(
  title = NULL,
  date = NULL,
  section = NULL,
  weight = NULL,
  summary = NULL
)

Arguments

title

The page title

date

The page date

section

The section the page will go in

weight

The page weight

summary

A summary of the page


co-analysis/govuk-hugo-r documentation built on June 23, 2022, 5:44 a.m.