utilMWRinputcheck {MassWateR} | R Documentation |
Check if required inputs are present for a function
Description
Check if required inputs are present for a function
Usage
utilMWRinputcheck(inputs)
Arguments
inputs |
list of arguments passed from the parent function |
Value
NULL if all inputs are present, otherwise an error message indicating which inputs are missing
Examples
inputchk <- formals(tabMWRcom)
inputchk$res <- system.file('extdata/ExampleResults.xlsx', package = 'MassWateR')
inputchk$frecom <- system.file('extdata/ExampleDQOFrequencyCompleteness.xlsx',
package = 'MassWateR')
utilMWRinputcheck(inputchk)
[Package MassWateR version 2.1.4 Index]