spell | R Documentation |
Performs a spell check on RMarkdown files ignoring some exams
keywords using spelling::spell_check_files()
.
spell(
path,
ignore = c("Meta", "information", "extype", "num", "mchoice", "schoice", "Solution",
"exsolution", "extol", "exname", "Question", "align", "begin", "bigg", "cases",
"cdot", "end", "frac", "infty", "int", "left", "left.", "leq", "mu", "qquad",
"right", "sum", "text", "vert"),
lang = Sys.getenv("LANG")
)
rm_spell_check(
path,
ignore = c("Meta", "information", "extype", "num", "mchoice", "schoice", "Solution",
"exsolution", "extol", "exname", "Question", "align", "begin", "bigg", "cases",
"cdot", "end", "frac", "infty", "int", "left", "left.", "leq", "mu", "qquad",
"right", "sum", "text", "vert"),
lang = Sys.getenv("LANG")
)
path |
path to file or to spell check |
ignore |
character vector with words which will be added to the hunspell::dictionary |
lang |
set |
A data frame with problematic words.
# none
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.