textDiagnostics function

Run diagnostics for the text package