The devtools' or, later usethis' function hardcoded the source package, it had dialogs on opened files in RStudio. Did Stuff I do not want.
use_template(
template,
save_as = template,
data = list(),
ignore = FALSE,
pkg = ".",
source_package = "packager",
git_commit = TRUE,
force = isTRUE(getOption("packager")[["force"]])
)
The name of the package's template (a file in the template directory).
The path where the template should be written to.
A named list of information used to render the new file from the
template, typically the output of
as.package
.
Add the new file to .Rbuildignore
?
The path to the package template shall be used for.
The name of the package from which the template should be read.
Add the new file to git and commit?
Overwrite an existing file?