project_hook {golem} | R Documentation |
Project Hook
Description
Project hooks allow to define a function run just after {golem}
project creation.
Usage
project_hook(path, package_name, ...)
Arguments
path |
Name of the folder to create the package in. This will also be used as the package name. |
package_name |
Package name to use. By default, golem uses
|
... |
Arguments passed from |
Value
Used for side effects
Examples
if (interactive()) {
my_proj <- function(...) {
unlink("dev/", TRUE, TRUE)
}
create_golem("ici", project_template = my_proj)
}
[Package golem version 0.4.1 Index]