R/board_connect_url.R
board_connect_url.Rd
board_connect_url()
lets you build up a board from individual
vanity urls.
board_connect_url()
is read only, and does not support versioning.
board_connect_url(
vanity_urls,
cache = NULL,
use_cache_on_failure = is_interactive(),
headers = connect_auth_headers()
)
connect_auth_headers(key = Sys.getenv("CONNECT_API_KEY"))
A named character vector of
Connect vanity URLs,
including trailing slash. This board is read only, and the best way to write to a pin
on Connect is board_connect()
.
Cache path. Every board requires a local cache to avoid downloading files multiple times. The default stores in a standard cache location for your operating system, but you can override if needed.
If the pin fails to download, is it ok to
use the last cached version? Defaults to is_interactive()
so you'll
be robust to poor internet connectivity when exploring interactively,
but you'll get clear errors when the code is deployed.
Named character vector for additional HTTP headers (such as for
authentication). See connect_auth_headers()
for Posit Connect support.
The Posit Connect API key.
This board is a thin wrapper around board_url()
which uses
connect_auth_headers()
for authentication via environment variable.
Other boards:
board_connect()
,
board_folder()
,
board_url()