Learn R Programming

rsconnect (version 1.3.0)

deployments: List Application Deployments

Description

List deployment records for a given application.

Usage

deployments(
  appPath = ".",
  nameFilter = NULL,
  accountFilter = NULL,
  serverFilter = NULL,
  excludeOrphaned = TRUE
)

Value

Returns a data frame with at least following columns:

nameName of deployed application
accountAccount owning deployed application
bundleIdIdentifier of deployed application's bundle
urlURL of deployed application
deploymentFileName of configuration file

If additional metadata has been saved with the deployment record using the metadata argument to deployApp(), the frame will include additional columns.

Arguments

appPath

The path to the content that was deployed, either a directory or an individual document.

nameFilter

Return only deployments matching the given name (optional)

accountFilter

Return only deployments matching the given account (optional)

serverFilter

Return only deployments matching the given server (optional)

excludeOrphaned

If TRUE (the default), return only deployments made by a currently registered account. Deployments made from accounts that are no longer registered (via e.g.removeAccount()) will not be returned.

See Also

applications() to get a list of deployments from the server, and deployApp() to create a new deployment.

Examples

Run this code
if (FALSE) {

# Return all deployments of the ~/r/myapp directory made with the 'abc'
# account
deployments("~/r/myapp", accountFilter="abc")
}

Run the code above in your browser using DataLab