set Language field in DESCRIPTION e.g. "en-US" or "en-GB".
For supporting other languages, see the hunspell vignette.
text
character vector with plain text
Details
This function parses a file based on the file extension, and checks only
text fields while ignoring code chunks and meta data. It works particularly
well for markdown, but also latex, html, xml, pdf, and plain text are
supported.
For more information about the underlying spelling engine, see the
hunspell package.