R: Check for reserved option names.

stop_if_reserved {settings} | R Documentation

## Check for reserved option names.

### Description

Utility function checking for reserved names.

### Usage

    stop_if_reserved(...)

### Arguments

`...` | Comma-separated `[key]=[value]` pairs

### Value

`logical`, indicating if any of the keys was reserved (invisibly).

### Details

This is a utility function that checks if the keys of the key-value pairs `...` contain reserved words. The reserved words are

`.__defaults`, `.__reserved`.

If reserved words are encountered in the input an error thrown. The package vignette has examples of its use:

`vignette('settings',package='options')`

### See Also

`is_setting`

[Package settings version 0.2.4 Index]