validSelectionInput: validSelectionInput

Description Usage Arguments Value Examples

View source: R/dataHandler.R

Description

Checks that the number of arguments provided matches the what the provided function expects.

Usage

1

Arguments

arguments

A list containing the function and arguments

Value

a boolean stating if the arguments are valid

Examples

1
2
3
4
5
foo <- function() {}

#Extra parameters to be added in the args member to match the parameters
#foo expects
validSelectionInput(list(func = foo, args = c(population = NA)))

porteous54/caRtesian documentation built on May 30, 2019, 11:43 a.m.