dataCompareR (version 0.1.2)

validateArguments: 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

Run this code
# NOT RUN {
validateArguments('plantName',1E-8,T,1000)
# }
# NOT RUN {
validateArguments('colorName',1E-9,F,10)
# }

Run the code above in your browser using DataCamp Workspace