includes {assertions}R Documentation

Check if All Values in Required are in x

Description

Checks if all elements of required are present in x.

Usage

includes(x, required)

Arguments

x

A vector of elements.

required

A vector of elements to check for inclusion in x.

Value

A logical value indicating whether all elements of required are present in x (TRUE) or not (FALSE).


[Package assertions version 0.1.0 Index]