check_x_in_y: Check that x is not empty and all elements exist in y.

View source: R/convert_data.R

check_x_in_yR Documentation

Check that x is not empty and all elements exist in y.

Description

Check that x is not empty and all elements exist in y.

Usage

check_x_in_y(x, y, var_name)

Arguments

x

character. A vector of strings that must exist in y.

y

character. A vector of character that must include all elements in x.

var_name

character. The variable name to be included in error messages.


TCLamnidis/TCLHelperRPackage documentation built on Aug. 27, 2022, 12:42 a.m.