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 ofnectar::req_setup()
.