A simple custom wrapper to create, configure and tune a workflowr project
Source:R/wflow_datalabr.R
wflow_datalabr.Rd
This function automates the creation of a workflowr project. It initializes the project, configures GitLab/GitHub, creates and overwrites specific R Markdown files with predefined templates, replaces placeholders, and publishes the initial site.
Arguments
- project_name
Character. The name of the project and repository.
- existing
Character. Checks if the package already exists.
- username
Character. Your username on the GitLab/GitHub instance.
- creator
Character. The name of the author or entity creating the project.
- domain
Character. The domain of the GitLab/GitHub instance (e.g., "git.csic.es").
- repo
Character. The type of the repository to commit. Must be one of c("GitHub", "GitLab")
- attribution
Character. Attribution text for the license file.
- lic
Character. The license to apply. Must be one of "CCBY-NC-SA4.0" (default) or "gnu-gpl-v3".