During the initialization:
The folder structure for the task is created in the data repository.
The task properties are also saved in rds and json format.
Please note that it is recommended to load packages for your analysis before initializing the task.
initTask(
project,
package,
taskname,
sponsor = getTaskSponsor(),
author = getTaskAuthor(),
dirCreate = TRUE,
templateCreate = FALSE,
overwrite = FALSE
)
D4TAlinkTask
object
Project name.
Package name.
Task name.
Sponsor name, default set by setTaskSponsor
.
Author name, system username by default.
logical, if TRUE (by default) the directory structure for the task is created in the repository.
create the prefilled Rmd template for the task, default value: FALSE.
logical, if TRUE and the task already exists, overwrite its parameters.