presentation(presentation = "presentation", type = c("rnw", "rmd"), theme = "Madrid", bib.loc = getOption("bib.loc"), name = getOption("name.reports"), github.user = getOption("github.user"), sources = getOption("sources.reports"), path = getwd(), present = getOption("present.template"), open = is.global(2), github = FALSE, ...)
report
is one this
name will be used as the main directory name and all sub
directories and files.rnw
, rmd
or
pptx
. rnw
corresponds to a beamer slides
(.Rnw file), rmd
corresponds to a html5
(compliments of slidify) slides (.Rmd file) and
docx
corresponds to PowerPoint slides (.pptx
file).NULL
presentation
will
allow the user to choose interactively..Rprofile
).slidify_templates
, "rstudio"
(this generates a .Rpres file), or a path to an
.Rmd/.Rpres file. This argument will be overrode if a
custom reports template is supplied with an .Rmd file in
the inst directory named slidify.Rmd
(~inst/slidify.Rmd). Or an .Rpres file in the
inst directory named rstudio.Rpres
(~inst/slidify.Rmd).TRUE
the project will be
opened in RStudio. The default is to test if
presentation
is being used in the global
environment, if it is then the project directory will be
opened.TRUE
the repo will be
sent to public GitHub
account.author
.Creates a presentation template.
Generate a presentation template to increase efficiency.
This is a lighter weight version of
new_report
that focuses on the
presentation.
The user may want to set options
for
bib.loc
, github.user
, name.reports
sources.reports
,slidify.template
and
reveraljs.loc
in the user's primary
.Rprofile
:
slidify_templates
for possible non-path
arguments) ## presentation("New")