f_render_quarto: Render Quarto document

View source: R/f - Render Quarto.R

f_render_quartoR Documentation

Render Quarto document

Description

Renders Quarto document.

Usage

f_render_quarto(
  c.folder.source,
  c.file.source,
  c.folder.destination,
  c.file.destination = NULL,
  b.add.date = TRUE,
  b.add.time = FALSE
)

Arguments

c.folder.source

Folder holding the qmd file.

c.file.source

Core name of the qmd file.

c.folder.destination

Folder where to write the rendered file.

c.file.destination

Option to give the rendered file a new name. By default c.file.source is used (default: NULL).

b.add.date, b.add.time

Should we add date and/or time to the filename (default: TRUE and FALSE, resp.).

Details

-

Value

It saves the rendered file; nothing is returned from this function directly.

Author(s)

Pieter Overdevest

Examples

f_render_quarto(

     c.folder.source      = path.code,
     c.file.source        = "Q - Data Understanding Clickstream - HTML.qmd",
     c.folder.destination = path.deliverables,
     c.file.destination   = NULL,
     b.add.date           = TRUE,
     b.add.time           = FALSE
     l.execute.params     = list(species = penguin)
)

pieterov/generaltoolbox documentation built on Jan. 25, 2025, 10:32 a.m.