ignore_files: Ignore files that match a pattern.

Description Usage Arguments Value See Also Examples

View source: R/plugin-ignore.R

Description

Ignore files that match a pattern.

Usage

1

Arguments

pattern

A regular expression to match against the file paths. Any files matching the pattern will be dropped.

...

Additional arguments passed to grepl

Value

An plugin

See Also

Other plugins: add_metadata; ignore_drafts; use

Examples

1
2
3
static_site <- rsmith_demo("static-site")
static_site %>% use(ignore_files("first")) %>% preview()
static_site %>% use(ignore_files("post")) %>% preview()

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