Framework for R

Notebooks & Scripts

make_presentation()

Create a Presentation

Alias for make_revealjs(). Creates a Quarto reveal.js presentation.

Usage

make_presentation(name, dir = NULL, overwrite = FALSE, subdir = NULL)

Arguments

Name Description
name

Character. The presentation name (with or without .qmd extension)

dir

Character. Directory to create the file in. Uses your project's configured directories$notebooks setting. Default: "notebooks/".

overwrite

Logical. Whether to overwrite existing file. Default FALSE.

subdir

Optional subdirectory under dir (e.g., "slides/week-01").

Value

Invisible path to created presentation

Examples

if (FALSE) {
# Create notebooks/deck.qmd with reveal.js format
make_presentation("deck")
}

See also