check_nrows: Check observed and expected number of rows

View source: R/check.R

check_nrowsR 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.


purgeR documentation built on Aug. 16, 2023, 9:07 a.m.