create_article: Create a new article

Description Usage Arguments

View source: R/create.R

Description

Create (and optionally edit) a new distill article.

Usage

1
2
3
4
5
6
7
create_article(
  file,
  template = "distill_article",
  package = "distill",
  create_dir = FALSE,
  edit = TRUE
)

Arguments

file

File name for the draft

template

Template to use as the basis for the draft. This is either the full path to a template directory or the name of a template directory within the rmarkdown/templates directory of a package.

package

(Optional) Name of package where the template is located.

create_dir

TRUE to create a new directory for the document (defaults to FALSE).

edit

TRUE to edit the template immediately


radixpub/radix-r documentation built on Feb. 17, 2021, 10:09 p.m.