Publish a website to RStudio Connect
Usage
publish_website(
site_dir = ".",
site_name = NULL,
method = c("rsconnect"),
server = NULL,
account = NULL,
render = TRUE,
launch_browser = interactive()
)Arguments
- site_dir
Directory containing website. Defaults to current working directory.
- site_name
Name for the site (names must be unique within an account). Defaults to the
nameprovided in_site.yml(or to the name of the site_dir if there is nonamespecified).- method
Publishing method (currently only "rsconnect" is available)
- account, server
Uniquely identify a remote server with either your user
account, theservername, or both. If neither are supplied, and there are multiple options, you'll be prompted to pick one.Use
accounts()to see the full list of available options.- render
TRUEto render the site locally before publishing.- launch_browser
If
TRUE, the system's default web browser will be launched automatically after the site is deployed. Defaults toTRUEin interactive sessions only.
