/
save_app.Rd
41 lines (39 loc) · 1.27 KB
/
save_app.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/apps.R
\name{save_app}
\alias{save_app}
\title{Save the files for a supporting Shiny app}
\usage{
save_app(app = c("flow", "plans", "drakeplanner"), path = app,
overwrite = FALSE)
}
\arguments{
\item{app}{Character, name of the app to launch. Must be one of
\code{"flow"}, \code{"plans"}, or \code{"drakeplanner"}.}
\item{path}{Character, where to write the files.}
\item{overwrite}{Logical, whether to overwrite the files.}
}
\description{
The notebooks \code{3-flow.Rmd} and \code{4-plans.Rmd}
(see \code{\link[=save_notebooks]{save_notebooks()}}) come with supporting Shiny apps
to conduct the exercises. Use \code{save_app()} to save the files
for an so you can deploy it to Shiny Server.
}
\details{
For \code{3-flow.Rmd}, \code{save_app("flow")} saves
a collection of exercises for iterating on a \code{drake} workflow.
For \code{4-plans.Rmd}, \code{save_app("plans")} saves guided exercises
on constructing \code{drake} plans,
and \code{save_app("drakeplanner")} saves an app
for visualizing and understanding plans.
}
\examples{
\dontrun{
save_app("flow")
save_app("plans")
save_app("drakeplanner")
}
}
\seealso{
\code{\link[=save_notebooks]{save_notebooks()}}, \code{\link[=view_slides]{view_slides()}}
}