preCheck {JATSdecoder} | R Documentation |
Performs prechecks and returns error messages for wrong input. If x is a textual input, x is returned unprocessed. If x is a file, x is read with readLines() and returned.
preCheck(x)
x |
anything |
The original input, error messages, empty objects or the read file content with readLines().