Closed uribo closed 6 years ago
it works now (e29fd930566dc9ad87344714350aa0a42b67d6eb).
library(textlintr)
textlint(system.file("sample.md", package = "textlintr"),
markers = FALSE)
# 1 inputs ✔ | 1 warnings ⚠
# In: /home/rstudio/textlintr/inst/sample.md
# ✔ common-misspellings: This is a commonly misspelled word. Correct it to useful
# → /home/rstudio/textlintr/inst/sample.md5:24
textlint(system.file("sample.md", package = "textlintr"),
lintrc = system.file("inst/textlintrc-samples/textlintrc-prh.yml", package = "textlintr"),
markers = FALSE)
# 1 inputs ✔ | 3 warnings ⚠
# In: /home/rstudio/textlintr/inst/sample.md
# ✔ common-misspellings: This is a commonly misspelled word. Correct it to useful
# → /home/rstudio/textlintr/inst/sample.md5:24
# ✔ prh: Rmarkdown => R Markdown
# → /home/rstudio/textlintr/inst/sample.md11:4
# ✔ prh: rstudio => RStudio
# → /home/rstudio/textlintr/inst/sample.md13:279
Reprex is here.