setup_test_na: Setup Test Na

Description Usage Arguments Examples

View source: R/test_setup.R

Description

Setup Test Na

Usage

1
setup_test_na(df_name, col_name, ptr = NULL)

Arguments

df_name

is a string and represents the name of the dataframe.

col_name

is a string and represents the name of the column to be tested.

ptr

a string or vector of strings correspond to the unique identifier or unique identifiers of the dataset

Examples

1
2
df <- data.frame(x = 1:10, y = c(rep("X", 4), rep("Y", 4), rep("Z", 2)))
setup <- setup_test_na(df_name = "df", col_name = "y")

holmesjoli/validR documentation built on Dec. 1, 2019, 12:38 p.m.