rsconnect (version 1.2.2)

setAccountInfo: Register account on shinyapps.io or posit.cloud

Description

Configure a ShinyApps or Posit Cloud account for publishing from this system.

Usage

setAccountInfo(name, token, secret, server = "shinyapps.io")

Arguments

name

Name of account to save or remove

token

User token for the account

secret

User secret for the account

server

Server to associate account with.

See Also

Other Account functions: accounts(), connectApiUser()

Examples

Run this code
if (FALSE) {

# register an account
setAccountInfo("user", "token", "secret")

# remove the same account
removeAccount("user")
}

Run the code above in your browser using DataLab