Skip to contents

Reads a YAML file of option: value pairs and applies them with ezrsurvey_options(). Called automatically when the package loads (over the standard ezrsurvey_profile_paths()); call it manually to load a specific file. Requires the suggested yaml package; without it, the function is a no-op.

Usage

load_ezrsurvey_profile(path = NULL, quiet = TRUE)

Arguments

path

Profile path(s). If NULL (default), the standard locations are tried in order (later files override earlier ones).

quiet

If TRUE (default), load silently; if FALSE, message which file(s) were loaded.

Value

Invisibly TRUE if any profile was applied, else FALSE.

Examples

if (FALSE) { # \dontrun{
load_ezrsurvey_profile("~/.ezrsurvey.yml", quiet = FALSE)
} # }