Debian Codegraph @

man/publish_site.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/publish_site.R
3 \name{publish_site}
4 \alias{publish_site}
5 \title{Publish an R Markdown Website}
6 \usage{
7 publish_site(
8 site_dir = ".",
9 site_name = NULL,
10 method = c("rsconnect"),
11 server = NULL,
12 account = NULL,
13 render = TRUE,
14 launch_browser = interactive()
15 )
16 }
17 \arguments{
18 \item{site_dir}{Directory containing website. Defaults to current working directory.}
19
20 \item{site_name}{Name for the site (names must be unique within an account). Defaults
21 to the `name` provided by the site generator (or to the name of the site_dir if
22 there is no `name` specified).}
23
24 \item{method}{Publishing method (currently only "rsconnect" is available)}
25
26 \item{account, server}{Uniquely identify a remote server with either your
27 user \code{account}, the \code{server} name, or both. If neither are supplied, and
28 there are multiple options, you'll be prompted to pick one.
29
30 Use \code{\link[rsconnect:accounts]{accounts()}} to see the full list of available options.}
31
32 \item{render}{`TRUE` to render the site locally before publishing.}
33
34 \item{launch_browser}{If `TRUE`, the system's default web browser will be launched
35 automatically after the site is deployed. Defaults to `TRUE` in interactive sessions
36 only.}
37 }
38 \description{
39 Publish a website to RStudio Connect
40 }
41 \examples{
42 \dontrun{
43 library(rmarkdown)
44 publish_site()
45 }
46
47 }