Create a new pack from declared intent
create_pack.Rdcreate_pack() writes a typed pack spec from package specs you provide. It does not add the pack to boosters.toml, install packages, sync renv, or copy functions into the project.
Arguments
- name
Pack name to write. The name is also used as the TOML
nameand file name.- packages
Character vector of package specs. Plain package names are written to
packages; source-specific specs are preserved in[sources].- root
Project root.
- scope
Destination scope:
"project"or"user".- description
Optional pack description.
- extends
Optional character vector of known pack names to extend.
- attach
Attach intent:
"ask","all","some","none", or a character vector of package names to attach.- function_template
Whether to create a nested function sidecar template:
"ask","yes", or"no".- overwrite
Whether to replace an existing pack file or template.
- verbose
Whether to print routine summaries.