Is there any way to programmatically tell if a given function in r has standard evaluation, and if not, which component of function evaluation –
- parsing,
- matching,
- scoping,
- promise formation,
- promise fulfillment,
- return,
etc. – is non-standard? I understand that closures are likely to be standard, and primitives are likely to be non-standard, but there are exceptions both ways. I’m asking about determining whether the function semantics are standard with respect to each of these things, not whether the function mechanics are standard.
I assume these things ought to be derivable from a close and careful reading of the help page, and failing that the code, and failing that any referenced source code. But it would save me a great deal of grief if I had a mechanical way of quickly identifying non-standard features in the evaluation of a given function.
If there is not a way to programmatically identify all the ways in which a function is nonstandard, are there ways to test for any aspect of standardness?