connect {connectwidgets}R Documentation

Create a connection to Posit Connect

Description

Creates a connection to Posit Connect using the server URL and an api key.

Usage

connect(
  server = Sys.getenv("CONNECT_SERVER", NA_character_),
  api_key = Sys.getenv("CONNECT_API_KEY", NA_character_)
)

Arguments

server

The server URL for accessing Posit Connect. Defaults to environment variable CONNECT_SERVER

api_key

The API key to authenticate with Posit Connect. Defaults to environment variable CONNECT_API_KEY

Value

An Client object


[Package connectwidgets version 0.2.1 Index]