new_page: Create a New Notebook Page

Description Usage Arguments Details

Description

This function will create a new notebook 'Page' under the '_pages' directory by default

Usage

1
2
new_page(title = "New page", dir = "_pages",
  skeleton = "_build/skeleton_page.Rmd")

Arguments

title

The title of the page

dir

The directory all of your .Rmd pages are in

skeleton

The filepath of a skeleton of a new page

Details

new_page will create a .R file, and a .Rmd file withinin a directory, with names created by running title through filenamise. The .R file will contain a short note mentioning that it accompanies the .Rmd file, which will contain the same text as the file supplied by skeleton paramter.


thephilross/iver documentation built on May 31, 2019, 9:49 a.m.