tests/testthat/_snaps/board_connect.md

can find board required pkgs

Code
  required_pkgs(board)
Output
  [1] "rsconnect"

get useful error for rebranding

Code
  board <- board_rsconnect()
Condition
  Error:
  ! `board_rsconnect()` was deprecated in pins 1.1.0 and is now defunct.
  i Please use `board_connect()` instead.

can deparse

Code
  board_deparse(board)
Output
  board_connect(auth = "envvar")

can find content by full/partial name

Code
  rsc_content_find(board, "marjory/test-partial")
Condition
  Error in `rsc_content_find()`:
  ! Can't find pin with name "test-partial" and owner "marjory"

can create and delete content

Code
  rsc_content_create(board, "test-1", list())
Condition
  Error in `rsc_check_status()`:
  ! Posit Connect API failed [409]
  * An object with that name already exists.
Code
  rsc_content_delete(board, "test-1")
Condition
  Error in `rsc_content_find()`:
  ! Can't find pin called "test-1"
  i Use `pin_list()` to see all available pins in this board


rstudio/pins documentation built on April 12, 2025, 6:59 p.m.