Create initial script and test files for a function that is to be added to a package.
Arguments
- name
Name of the function. Should start with the function's category, followed by a specific name, separated by an underscore (
'_'
) (e.g.,'init_function'
).- dir
Path to the package's development directory; default is the current working directory.
- overwrite
Logical; if
TRUE
, replaces existing files with templates.