Description Usage Arguments Value Author(s) See Also Examples
View source: R/toolstartmessage.R
Function writes a process start message and performs some diagnostics
1 | toolstartmessage(argumentValues, level = NULL)
|
argumentValues |
list of the evaluated arguments of the calling function |
level |
This argument allows to establish a hierarchy of print statements. The hierarchy is preserved for the next vcat executions. Currently this setting can have 4 states: NULL (nothing will be changed), 0 (reset hierarchies), "+" (increase hierarchy level by 1) and "-" (decrease hierarchy level by 1). |
a list containing diagnostic information required by toolendmessage
Jan Philipp Dietrich, Pascal Führlich
1 2 3 4 5 6 7 8 9 10 11 12 | innerFunction <- function() {
startinfo <- madrat:::toolstartmessage(list(argumentsToPrint = 123), "+")
vcat(1, "inner")
madrat:::toolendmessage(startinfo, "-")
}
outerFunction <- function() {
startinfo <- madrat:::toolstartmessage(list(), "+")
vcat(1, "outer")
innerFunction()
madrat:::toolendmessage(startinfo, "-")
}
outerFunction()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.