Presentation Template

Usage

presentation(presentation = "presentation", rnw = TRUE, theme = "Madrid", bib.loc = getOption("bib.loc"),
  name = getOption("name_reports"), github.user = getOption("github.user"), sources = getOption("sources_reports"),
      path = getwd())

Arguments

presentation
A character vector of length two or one: (1) the main directory name and (2) sub directory names (i.e., all the file contents will be imprinted with this name). If the length of report is one this name will be used as the main directory name and all sub directories and files.
rnw
logical. If TRUE the documents will be .Rnw and .tex files. If FALSE the documents will be .pptx and .docx files.
theme
Beamer theme to use. If NULL presentation will allow the user to choose interactively.
bib.loc
Optional path to a .bib resource.
name
A character vector of the user's name to be used on the report.
github.user
GitHub user name (character string).
sources
A vector of path(s) to other scripts to be sourced in the report project upon startup (adds this location to the report project's .Rprofile).
path
The path to where the project should be created. Default is the current working directory.

Value

Creates a report template.

Description

Generate a presentation template to increase efficiency. This is a lighter weight version of new_report.

Suggestion

The user may want to set options for bib.loc, github.user and sources_reports in the user's primary .Rprofile:

  1. bib.loc - The path to the users primary bibliography
  2. github.user - GitHub user name
  3. sources_reports - Path(s) to additional files/scripts that should be included to be sourced in the project startup

Examples

## Not run: # presentation()# presentation("New", rnw=TRUE, theme=NULL)# presentation("New", rnw=FALSE)# ## End(Not run)

See also

new_report