Learn R Programming

pins (version 0.1.1)

board_register_rsconnect: Register RStudio Connect Board

Description

Wrapper with explicit parameters over board_register() to register RStudio Connecet as a board.

Usage

board_register_rsconnect(name = "rsconnect", server = NULL,
  account = NULL, key = NULL, output_files = FALSE,
  cache = "~/.pins")

Arguments

name

Optional name for this board, defaults to 'rsconnect'.

server

Optional address to RStudio Connect server.

account

Optional account name to use with RStudio Connect.

key

The RStudio Connect API key.

output_files

Should the output in an automated report create output files?

cache

The local folder to use as a cache, defaults to "~/.pins".

See Also

board_register

Examples

Run this code
# NOT RUN {
# the following examples require an RStudio Connect API key

# register from rstudio
board_register_rsconnect()

# register from rstudio with multiple servers
board_register_rsconnect(server = "https://rstudio-connect-server")

# register from rstudio with multiple account
board_register_rsconnect(account = "account-name")

# register automated report for rstudio connect
board_register_rsconnect(key = Sys.getenv("RSTUDIO_KEY"),
                         server = "https://rstudio-connect-server")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab