makeItPassIf: Enable pipe validations

Description Usage Arguments Value Examples

View source: R/validators.R

Description

Enable pipe validations

Usage

1

Arguments

fun

function created from isThisDFOk or other

Value

function that takes df as it's argument and checks it's validity from function you've provided

Examples

1
2
3
4
5
thisIsIris = isThisDFOk(schema_iris)
df = makeItPassIf(thisIsIris)(iris)
head(df)

makeItPassIf(thisIsIris)(mtcars)

fcyprowski/schemar documentation built on July 15, 2020, 1:03 p.m.