initialise_deck: Intitialise (or open) an Rmd deck.

Description Usage Arguments

View source: R/initialise-deck.r

Description

This function creates a deck directory and initialises an Rmd slidify template for the user to edit.

Usage

1
2
3
initialise_deck(deckdir, title = "", subtitle = "", author = "",
  job = "", libs = "", slides = "## First Slide\n\n---\n\n",
  open_rmd = TRUE, replace = FALSE)

Arguments

deckdir

Directory in which the Rmd template will be created (or in which an index.Rmd file is present)

title

Title string to be substituted into the template.

subtitle

Subtitle string to be substituted into the template.

author

Author name to be substituted into the template. Taken from the DESCRIPTION file if not provided.

job

Job or address to be substituted into the template.

slides

Slides to be substituted into the template.

open_rmd

Open the index file for edition after it has been created.


gschofl/coursedata documentation built on May 17, 2019, 8:52 a.m.