render_report: Produce reports

View source: R/render_report.R

render_reportR Documentation

Produce reports

Description

Produce html reports from a rmd file. It's mainly a wrapper arrond rmarkdown::render()

Usage

render_report(
  rmd,
  n_file,
  open_file = TRUE,
  report_dir = "reports",
  rmds_dir = "rmds"
)

Arguments

rmd

name of the rmd file

n_file

prefix numbering of the output file

open_file

open the html file in the default browser once produced. By default, TRUE.

report_dir

target directory for the reports

rmds_dir

source directery for the .Rmds files. By default, the directory rmds.

Value

Return invisibly the file path of the produced report


farhadsalimi/registryr documentation built on June 24, 2022, 12:23 a.m.