deploySite | R Documentation |
Deploy an R Markdown or quarto website to a server.
deploySite(
siteDir = getwd(),
siteName = NULL,
siteTitle = NULL,
account = NULL,
server = NULL,
render = c("none", "local", "server"),
launch.browser = getOption("rsconnect.launch.browser", interactive()),
logLevel = c("normal", "quiet", "verbose"),
lint = FALSE,
metadata = list(),
python = NULL,
recordDir = NULL,
...
)
siteDir |
Directory containing website. Defaults to current directory. |
siteName |
Name for the site (names must be unique within
an account). Defaults to the base name of the specified |
siteTitle |
Title for the site. For quarto sites only, if not
supplied uses the title recorded in |
account , server |
Uniquely identify a remote server with either your
user Use |
render |
Rendering behavior for site:
Note that for |
launch.browser |
If true, the system's default web browser will be
launched automatically after the app is started. Defaults to |
logLevel |
One of |
lint |
Lint the project before initiating deployment, to identify potentially problematic code? |
metadata |
Additional metadata fields to save with the deployment
record. These fields will be returned on subsequent calls to
Multi-value fields are recorded as comma-separated values and returned in that form. Custom value serialization is the responsibility of the caller. |
python |
Full path to a python binary for use by |
recordDir |
The default, |
... |
Additional arguments to |
Other Deployment functions:
applications()
,
deployAPI()
,
deployApp()
,
deployDoc()
,
deployTFModel()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.