Package 'rtemps'

Title: R Templates for Reproducible Data Analyses
Description: A collection of R Markdown templates for nicely structured, reproducible data analyses in R. The templates have embedded examples on how to write citations, footnotes, equations and use colored message/info boxes, how to cross-reference different parts/sections in the report, provide a nice table of contents (toc) with a References section and proper R session information as well as examples using DT tables and ggplot2 graphs. The bookdown Lite template theme supports code folding.
Authors: John Zobolas [aut, cph, cre]
Maintainer: John Zobolas <[email protected]>
License: MIT + file LICENSE
Version: 0.8.0
Built: 2024-10-26 03:10:01 UTC
Source: https://github.com/bblodfon/rtemps

Help Index


Create a new directory with the specified R template

Description

This function creates a new directory under the current directory, which will contain the given files of the specified template, ready to be rendered.

Usage

create_rtemp(dirname = "new-dir", template = "united_html")

Arguments

dirname

name of the directory to create. If not specified, a directory new-dir will be created.

template

which template to use?

Details

The available templates are: united_html (default), bookdown_lite. The name of the main .Rmd file will be index.Rmd.

Examples

## Not run: 
create_rtemp(dirname = "tmp_dir", template = "united_html")

## End(Not run)