Creates a directory with the essential files for a workflowr or quarto project, using GitHub/Gitlab Pages and a targets data analysis pipeline.
Usage
ourproj_start(
directory,
project_title,
git_username,
github_gitlab = "gitlab",
template = "workflowr_targets"
)
Arguments
- directory
character. The directory where the new project will be created, e.g. "~/myproj". An error is raised if this directory already exists.
- project_title
character. The title of the project.
- git_username
character. GitHub/GitLab user name.
- github_gitlab
character. Either 'github' or 'gitlab'
- template
Project template to be used. Options: 'workflowr_targets', 'quarto_website_targets'.
Examples
if (FALSE) {
ourproj_start(
directory = tempdir(),
project_title = "My Project",
git_username = "user"
)
}