knit_with_date: Knit R markdown report with today's date

knit_with_dateR Documentation

Knit R markdown report with today's date

Description

Append today's date to R markdown output file name. This function modifies the default behaviour of the Knit button in R Studio. It is intended to be passed in the YAML ⁠knit:⁠ field.

Usage

knit_with_date(input, sep = "_", ...)

Arguments

input

input file

sep

separator between input file name and date

...

additional arguments to rmarkdown::render()

Value

The output file name will have today's date appended at the end.

Author(s)

Derek Chiu

References

https://bookdown.org/yihui/rmarkdown-cookbook/custom-knit.html


TalhoukLab/biostatUtil documentation built on April 14, 2025, 4:15 a.m.