.composeCallName {wrMisc} | R Documentation |
Compose sequence of (function-)calls
Description
This function was designed for tracing the hierarchy of function-calls. It allows to remove any tailing space or ': ' from 'callFrom' (character vector) and return with added 'newNa' (+ 'add2Tail')
Usage
.composeCallName(newNa, add2Head = "", add2Tail = " : ", callFrom = NULL)
Arguments
newNa |
(character vector) main input |
add2Head |
(character) |
add2Tail |
(character) |
callFrom |
(character) may also contain multiple separate names (ie length >1), will be concatenated using ' -> ' |
Value
character vector (history of who called whom)
See Also
Examples
.composeCallName("newFunction", callFrom="initFunction")
[Package wrMisc version 1.15.1 Index]