validateArguments {dataCompareR}R Documentation

validateArguments

Description

validateArguments

Usage

validateArguments(
  matchKey = NA,
  roundDigits = NA,
  coerceCols = TRUE,
  maxMismatch = NA
)

Arguments

matchKey

A character or character vector of column names to match on

roundDigits

Integer. If NA, numerics are not rounded before comparison. If specified, numerics are rounded to the specified number of decimal places using round.

coerceCols

Boolean - do we coerce columns names?

maxMismatch

Cap for number of mismatches

Value

Nothing. Errors if any parameters are invalid.

Examples

## Not run: validateArguments('plantName',1E-8,T,1000)
## Not run: validateArguments('colorName',1E-9,F,10)

[Package dataCompareR version 0.1.4 Index]