50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

quarto (version 0.3)

quarto_publish: Publish to RStudio Connect

Description

Publish a quarto document or project to RStudio Connect

Usage

quarto_publish(
  input = ".",
  name = NULL,
  method = c("rsconnect"),
  server = NULL,
  account = NULL,
  render = TRUE,
  launch_browser = interactive()
)

Arguments

input

The input file or project directory to be published. Defaults to current working directory.

name

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).

method

Publishing method (currently only "rsconnect" is available)

server

Server name. Required only if you use the same account name on multiple servers.

account

Account to deploy to. This parameter is only required for the initial deployment when there are multiple accounts configured on the system.

render

TRUE to render locally before publishing.

launch_browser

If TRUE, the system's default web browser will be launched automatically after deployment. Defaults to TRUE in interactive sessions only.

Examples

Run this code
# NOT RUN {
library(quarto)
quarto_publish()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab