atest: add Test-statement to predefined dataframe

View source: R/atest.R

atestR Documentation

add Test-statement to predefined dataframe

Description

add Test-statement to predefined dataframe

Usage

atest(object, expect, description, test_df = test_dataframe, assign = TRUE)

Arguments

object

The object to be testet (should be a vector). In case of a list only first element will be used for evaluation.

expect

Character. Statement to be evaluated

description

A description of the test. Must be unique for all collected tests within the dataframe.

test_df

Specify dataframe where evaluation should be added.

assign

Logical. Choose TRUE to add the evaluation to the test_df.

See Also

utest, stest

Examples

atest(iris$Species, "%in% c('setosa', 'virginica', 'versicolor')")

sachserf/sf documentation built on June 8, 2024, 4:23 p.m.