Learn R Programming

pins (version 1.2.1)

pin_info: Retrieve pin metadata (legacy API)

Description

Retrieve metadata for pins in legacy boards.

Usage

pin_info(
  name,
  board = NULL,
  extended = TRUE,
  metadata = TRUE,
  signature = FALSE,
  ...
)

Arguments

name

The exact name of the pin to match when searching.

board

The board name used to find the pin.

extended

Should additional board-specific information be shown?

metadata

Should additional pin-specific information be shown?

signature

Should a signature to identify this pin be shown?

...

Additional parameters.

Examples

Run this code
if (FALSE) { # rlang::is_installed("filelock")
# old API
board_register_local(cache = tempfile())
pin(mtcars)
pin_info("mtcars", "local")

# new API
board <- board_temp()
board %>% pin_write(mtcars)
board %>% pin_meta("mtcars")
}

Run the code above in your browser using DataLab