write_quarto: Create a New Quarto Document

View source: R/write_quarto.R

write_quartoR Documentation

Create a New Quarto Document

Description

This function creates a new Quarto document (.qmd file) complete with a useful header.

Usage

write_quarto(filename = NULL, path = here::here())

Arguments

filename

Character string. The name of the file without the '.qmd' extension. Only letters, numbers, hyphens, and underscores are allowed.

path

Character string. Directory where the file will be created. Defaults to the current project's base directory.

Value

Opens file after creating the Quarto document.

Examples

## Not run: 
# Create a new Quarto document
write_quarto(filename = "data_cleaning", path = tempdir())

## End(Not run)

RaymondBalise/rUM documentation built on April 14, 2025, 11:48 a.m.