pkgmaker (version 0.32.2)

read.yaml_section: Reads YAML Options Embbeded into a File

Description

Reads YAML Options Embbeded into a File

Usage

read.yaml_section(section, file = "~/.Rprofile", text = NULL)

Arguments

section

section name to lookup in the file. In the file this defined by paired tags "#<section_name>", "#</section_name>", or a single tag "#<section_name@file_path>" that redirect to a YAML file.

file

path to the file to parse. Default is to parse the user's .Rprofile.

text

text to parse. If provided, then argument file is not used.