build: Save rsmith output.

Description Usage Arguments Examples

View source: R/output.R

Description

build will build the site once, while watch listens for changes, re-outputing every time an input file changes. preview prints output on screen.

Usage

1
2
3
4
5
build(rsmith)

preview(rsmith)

watch(rsmith, interval = 0.25)

Arguments

rsmith

An object created by rsmith.

interval

How often to check for changes, in seconds.

Examples

1
2
3
4
5
6
static_site <- rsmith_demo("rmarkdown")
static_site %>% build()
## Not run: 
static_site %>% watch()

## End(Not run)

hadley/rsmith documentation built on May 17, 2019, 12:16 p.m.