Set Up Structure for a Trendlines Project in g6tr.voice.
Source: R/g6tr_newsletter_setup.R
g6tr_newsletter_setup.RdCreates a new project in the g6tr.voice package of our
monorepo. It automatically creates vignettes and scripts for you to work in
with our default parameters set-up.
Usage
g6tr_newsletter_setup(
edition,
init_renv = TRUE,
git_branch = NULL,
attach_s3 = TRUE,
open_project = TRUE
)Arguments
- edition
Newsletter edition code. We launch Newsletter surveys once per month, and for each survey we create a corresponding R project. This parameter takes survey edition code in the form
YYYY-MM. For example, for 2023 September edition use2023-09.- init_renv
Whether to setup project as renv project (default
TRUE)?- git_branch
If not
NULLthen creates a new branch with the name passed as character.- attach_s3
Should a new S3 bucket be created (default
TRUE)?- open_project
Open the project when setup is done? Default is
TRUE.