Skip to contents

Creates or updates package files based on the information in a beekeeper config file (generated by use_beekeeper() or manually). The files enforce an opinionated framework for API packages.

Usage

generate_pkg(
  config_file = "_beekeeper.yml",
  pkg_agent = generate_pkg_agent(config_file)
)

Arguments

config_file

The path to a beekeeper yaml file.

pkg_agent

A string to identify this package, for use in the user_agent argument of nectar::call_api().

Value

A character vector of paths to files that were added or updated, invisibly.