test_columns_not_present: Test whether column names are NOT present in a data.frame

View source: R/check-input-helpers.R

test_columns_not_presentR Documentation

Test whether column names are NOT present in a data.frame

Description

The function checks whether all column names are NOT present. If none of the columns are present, the function returns TRUE. If one or more columns are present, the function returns FALSE.

Usage

test_columns_not_present(data, columns)

Arguments

data

A data.frame or similar to be checked

columns

A character vector of column names to check

Value

Returns TRUE if none of the columns are present and FALSE otherwise


epiforecasts/scoringutils documentation built on April 23, 2024, 4:56 p.m.