Displaying 1 result from an estimated 1 matches for "startinspect".
Did you mean:
smartinspect
2010 Dec 17
0
How to use the RUnit tracker in unit tests?
...sed
differently. Instead of doing it in a local copy of the code
(as I understand it is done), it could be done in the original
function, like 'trace' can replace the original code, I believe.
Then every subsequent call will be tracked, until inspection is
stopped. I imagine something like
startInspection(myFunction, track = track)
[ or startInspection(myFunction, signature = "numeric", track = track)]
myFunction(10)
stopInspection(myFunction)
Is this already around?
Best, Niels
--
Niels Richard Hansen Web: www.math.ku.dk/~richard
Associate Professor...