wtCheckConfiguration | R Documentation |
Checks a WTAQ configuration for its structure
wtCheckConfiguration(configuration, part = "complete", dbg = TRUE)
configuration |
WTAQ configuration (complete) or sub-configuration (general, aquifer, rainage, times, solution, pumpwell, obswell) |
part |
one of c("complete", "general", "aquifer", "drainage", "times", "solution", "pumpwell", "obswell") |
dbg |
if TRUE, debug messages are shown, else not. |
Error message or "" if no error occurred
Hauke Sonnenberg
# Generate default configuration cconf <- wtConfigure() # Check (complete) configuration. No error -> ok wtCheckConfiguration(cconf) # Generate default observation well configuration oconf <- wtConfigureObservationWell() # Check "obswell" configuration. No error -> ok wtCheckConfiguration(oconf, "obswell") # Set obswells in complete configuration (forgetting that obswells must be # a list!): cconf$obswells <- oconf # Check (complete) configuration again # -> Error when "Checking config of observation well 1". wtCheckConfiguration(cconf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.