toolstartmessage: Tool: Start message

Description Usage Arguments Value Author(s) See Also Examples

View source: R/toolstartmessage.R

Description

Function writes a process start message and performs some diagnostics

Usage

1

Arguments

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).

Value

a list containing diagnostic information required by toolendmessage

Author(s)

Jan Philipp Dietrich

See Also

toolendmessage, vcat

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
tmp <- function(bla=NULL) {
  startinfo <- toolstartmessage("+")
  print(bla)
  toolendmessage(startinfo,"-")
  }
tmp(bla=99)

## End(Not run)

madrat documentation built on Dec. 25, 2019, 9:07 a.m.