Converts ‘Rd’ to Quarto files

rd_to_qmd

Description

Converts ‘Rd’ to Quarto files

Usage

rd_to_qmd(
  rd_file,
  project = ".",
  pkg = NULL,
  examples = TRUE,
  not_run_examples = FALSE,
  template = NULL
)

Arguments

Arguments Description
rd_file The name of the source Rd file
project The path to the root folder of the project.
pkg The path inside the project folder. Use only if the R package itself is in a sub-folder within the project.
examples Flag that sets the examples code chuck to be evaluated when the Quarto document is rendered
not_run_examples Flag that sets the “do not run” examples code chuck to be evaluated when the Quarto document is rendered
template The path to a Quarto file that can be used as the template for all of the resulting reference files. If left NULL, pkgsite will use its default template.