Publish a quarto document or project to RStudio Connect
quarto_publish(
input = ".",
name = NULL,
method = c("rsconnect"),
server = NULL,
account = NULL,
render = TRUE,
launch_browser = interactive()
)
The input file or project directory to be published. Defaults to current working directory.
Name for publishing (names must be unique within an account). For
projects, defaults to the name
provided by the project (alternatively
uses the base name of the input
).
Publishing method (currently only "rsconnect" is available)
Server name. Required only if you use the same account name on multiple servers.
Account to deploy to. This parameter is only required for the initial deployment when there are multiple accounts configured on the system.
TRUE
to render locally before publishing.
If TRUE
, the system's default web browser will be
launched automatically after deployment. Defaults to TRUE
in interactive
sessions only.
# NOT RUN {
library(quarto)
quarto_publish()
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab