Skip to contents

Reads and parses a _server.yml file, returning the configuration as a list.

Usage

read_server_yml(path)

Arguments

path

Path to the directory containing _server.yml or path to the _server.yml file itself.

Value

A list containing the parsed YAML configuration.

Examples

if (FALSE) { # \dontrun{
config <- read_server_yml("path/to/api")
print(config$engine)
} # }