Generic diagnostic function.
diagnostic(object, ...)
object
The object generated by the function hmr.
...