board_default: Default Board

Description Usage Examples

View source: R/board.R

Description

Retrieves the default board, which defaults to "local" but can also be configured with the pins.board option.

Usage

1

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
library(pins)

# create temp board
board_register_local("temp", cache = tempfile())

# configure default board
options(pins.board = "temp")

# retrieve default board
board_default()

# revert default board
options(pins.board = NULL)

pins documentation built on Jan. 8, 2021, 2:28 a.m.