knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(qrmdreport)

Disclaimer

Experiments, problems and design decisions related to coming up with a R package that allows for the seamless creation of RMarkdown reports are described and documented.

Background

At the end of the development of a new analysis procedure, results are to be summarized in a report.

Alternative

According to https://usethis.r-lib.org/reference/use_rmarkdown_template.html a new RMarkdown template can be created by

usethis::use_rmarkdown_template(template_name = "Qualitas AG Project Report", 
                                template_dir  = 'quagprojectreport',
                                template_description = 'Report for FB-ZWS Projects for Qualitas AG')

This creates a subdirectory named 'quagprojectreport' which contains

For any given template, the above command must only be run once. After that the template can be adapted to the requirements that must be fullfilled for the documents that are later to be generated from this template.

Beamer Template

The beamer template was created with

usethis::use_rmarkdown_template(template_name = "Empty Beamer Slides",
template_dir  = 'quagbeamer',
template_description = 'Empty Beamer Slides for a Presentation')


pvrqualitasag/qrmdreport documentation built on April 17, 2021, 6:37 a.m.