Skip to contents

Create a projr profile with highest precedence (i.e. its settings overwrite any others) that is ignored by Git. Useful to avoid bloat through many entries in _projr.yml or extra _projr-<profile>.yml files. Creates a file _projr-local.yml with empty settings and ignores it from .Rbuildignore and .gitignore.

Usage

projr_profile_create_local(overwrite = FALSE)

Arguments

overwrite

logical. If TRUE, then overwrite _projr-local.yml if it already exists. Default is FALSE.

Details

Note that if any setting in _projr-local.yml is empty, then a lower-precendence file's setting (i.e. from _projr-<profile>.yml or _projr.yml) is used. Empty settings are by default indicated by ~.

See also

projr_profile_create_local,projr_yml_get