Skip to contents

Read the api_abbr field from a beekeeper config file.

Usage

read_api_abbr(pkg_dir = ".", config_filename = "_beekeeper.yml")

Arguments

pkg_dir

(character(1) or fs_path) The directory containing package files.

config_filename

(character(1) or fs_path) The path to a beekeeper yaml config file (relative to the package root).

Value

(character(1)) The api_abbr field from the beekeeper config file.

Examples

read_api_abbr(pkg_dir = fs::path_package("beekeeper", "guru"))
#> [1] "guru"