render_ioslides: Render ioslides from an .Rmd file

Description Usage Arguments Value Examples

View source: R/render_ioslides.R

Description

Render ioslides from an .Rmd file

Usage

1

Arguments

path

Path to an .Rmd file.

...

Argumets passed to [rmarkdown::render].

Value

It's called for the side effect of creating an .html-ioslides version of 'path'.

Examples

1
2
3
4
5
6
7
8
9
if (interactive()) {
  in_ds_incubator <- identical(fs::path_file(here::here()), "ds-incubator")
  stopifnot(in_ds_incubator)

  render_ioslides("2020-01-21-debugging-with-rstudio.Rmd")

  message("Opening slides.html in your web browser")
  browseURL("slides.html")
}

2DegreesInvesting/ds-incubator documentation built on Oct. 13, 2021, 10:09 a.m.