tests/testthat/test-pin-meta.R

test_that("informative error when used with legacy board", {
  expect_snapshot(error = TRUE, {
    board <- legacy_temp()
    pin_meta(board, "x")
  })
})

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.