assert_value_: Check if a variable holds an allowed value (without non...

View source: R/utilities.R

assert_value_R Documentation

Check if a variable holds an allowed value (without non standard evaluation)

Description

Check if a variable holds an allowed value (without non standard evaluation)

Usage

assert_value_(var, var_name, values)

Arguments

var

Variable whose value should be checked

var_name

name of the variable whose value should be checked

values

(vector) A vector of allowed values


R-package/styledtable documentation built on May 25, 2023, 6:12 p.m.