latexCheckOptions.RdCheck whether the options for latex functions have been specified.
If any ofoptions()[c("latexcmd","dviExtension","xdvicmd")]
are NULL, an error message is displayed.
latexCheckOptions(...)If any NULL options are detected, the invisible text of the
error message. If all three options have non-NULL values, NULL.