Skip to contents

Initializes the branding by creating a config.yml file with the remote and local file paths, and a placeholder _brand.yml file.

Usage

brand_init(get_default_brand = TRUE)

Arguments

get_default_brand

Logical. If TRUE, downloads and writes the default _brand.yml from the remote repository. If FALSE, creates a placeholder _brand.yml file.

Value

No return value. Side effects: creates config.yml and _brand.yml.

Details

This function is intended to be run once to set up the configuration for branding file management.

Examples

brand_init()
#> Checking remote version... 
#> The local file is different from the remote file.
#> 1: Overwrite the local file with the remote file
#> 2: Overwrite the local file with the remote file and save a backup to bak_brand.yml
#> 3: Do nothing
#> 
#> Please Select an option: (1/2/3): 
#> 
#> config.yml created with remote and local file paths.  Initial _brand.yml created.