Skip to contents

Returns a pkg's user-cache pins board. The board is automatically created if it doesn't already exist.

Usage

board(pkg, pkg_versioned = TRUE)

Arguments

pkg

Package name. A character scalar.

pkg_versioned

Whether or not to make the board name dependent on pkg's version number. If FALSE, the board is agnostic about pkg's version number. Otherwise, a separate board is created for each pkg version number (e.g. after an upgrade).

Value

The user-cache pins board belonging to pkg (and its version number if pkg_versioned = TRUE). An object of class pins_board_folder.

See also

Other package cache management functions: clear_cache(), ls_cache(), path_cache(), purge_cache(), purge_caches()