function, helpfile, namespace for new function diagnose which can be used to diagnose the most likely cause for a inconsistently reported result
adaptations identify.statcheck