check_consecutive_words: Check consecutive typeset words

Description Usage Arguments Value

Description

Check consecutive typeset words

Usage

1
2
check_consecutive_words(path = ".", latex_file = NULL,
  md5sum.ok = NULL)

Arguments

path

Path containing the latex file.

latex_file

The LaTeX file (without path) whose output will be checked.

md5sum.ok

The output of md5sum of an acceptable LaTeX file. Since some repeated words will be spurious, you can use the md5sum of the output of this function.

Value

An error if words are repeated on consecutive lines, together with cat() output of the offending lines. Lastly the tools::md5sum of the file is returned in the error message, so it can be supplied to md5sum.ok.


HughParsonage/grattanReporter documentation built on May 7, 2019, 5:02 a.m.