check_nrows {purgeR}R Documentation

Check observed and expected number of rows

Description

Expected and observed number of rows must be equal.

Usage

check_nrows(df, exp, message = "Expected value of length 1")

Arguments

df

Dataframe to test

exp

Expected number of rows

message

Error message to display

Value

No return value. Will print an error message if checking fail.


[Package purgeR version 1.8.2 Index]