tests/testthat/_snaps/legacy_board.md

good errors when use modern board with legacy api

Code
  board <- board_temp()
  pin(mtcars, "mtcars", board = board)
Condition
  Error in `board_pin_create()`:
  ! Use `pin_write()` with this board, not `pin()`
Code
  pin_get("mtcars", board = board)
Condition
  Error in `board_pin_get()`:
  ! Use `pin_read()` with this board, not `pin_get()`
Code
  pin_find("mtcars", board = board)
Condition
  Error in `board_pin_find()`:
  ! Use `pin_search()` with this board, not `pin_find()`
Code
  pin_versions("mtcars", board)
Condition
  Error in `pin_versions()`:
  ! Please supply `board` then `name` when working with modern boards
Code
  board_browse(board)
Condition
  Error in `board_browse()`:
  ! Use `pin_browse()` with this board, not `board_browse()`


Try the pins package in your browser

Any scripts or data that you put into this service are public.

pins documentation built on Nov. 10, 2023, 1:06 a.m.