View source: R/utilMWRinputcheck.R
utilMWRinputcheck | R Documentation |
Check if required inputs are present for a function
utilMWRinputcheck(inputs, nocheck = NULL)
inputs |
list of arguments passed from the parent function |
nocheck |
optional character vector of inputs not to check, allows for optional inputs |
NULL if all inputs are present, otherwise an error message indicating which inputs are missing
inputchk <- formals(tabMWRcom)
inputchk$res <- system.file('extdata/ExampleResults.xlsx', package = 'MassWateR')
inputchk$frecom <- system.file('extdata/ExampleDQOFrequencyCompleteness.xlsx',
package = 'MassWateR')
inputchk$cens <- system.file('extdata/ExampleCensored.xlsx', package = 'MassWateR')
utilMWRinputcheck(inputchk)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.