From 35402fb8fcb9c72895ca03338830e48c19283056 Mon Sep 17 00:00:00 2001 From: Kath Sherratt Date: Thu, 23 Jul 2020 15:40:58 +0100 Subject: [PATCH] spellcheck - add wordlist - automate spell check --- inst/WORDLIST | 111 +++++++++++++++++++++++++++++++++++++++++++++++ tests/spelling.R | 3 ++ 2 files changed, 114 insertions(+) create mode 100644 inst/WORDLIST create mode 100644 tests/spelling.R diff --git a/inst/WORDLIST b/inst/WORDLIST new file mode 100644 index 00000000..a5025fc8 --- /dev/null +++ b/inst/WORDLIST @@ -0,0 +1,111 @@ +abbott +acaps +ACAPS +AMEDtqK +anonymised +Antwerpen +api +arcgis +Beligan +br +brazil +BRU +Bundesland +Bundesländ +canada +Centre +CMD +Codecov +coronavirus +Cota +covid +Covid +COVID +covidLive +csse +csv +cumsum +dati +departamento +Departamento +develVersion +dmuijen +DOI +dpc +dplyr +dptos +eb +ECDC +epistat +Estado +ffinger +filepath +getters +Github +githubusercontent +grwlf +hazealign +HDX +hospitalisations +https +humdata +ideascol +india +infobase +iso +ita +Kath +kathsherratt +Kingom +Landkreis +Landkreise +licence +Limburg +linelist +Linelist +linelists +lshtm +memoise +Muijen +na +NHS +nytimes +ONS +oOsWQsgJi +opendata +Organisation +paulcampbell +pcm +README +readr +regioni +Regioni +reparameterise +Rg +sam +sanitised +sanitises +SciELOPreprints +sciensano +Sciensano +seabbs +src +standardise +subnational +Subnational +subregion +summarise +THere +tibble +tomwhite +totalled +uk +Uo +useMemoise +VLG +VLI +WAL +Wallonia +wcota +Wilayat +YYYY diff --git a/tests/spelling.R b/tests/spelling.R new file mode 100644 index 00000000..6713838f --- /dev/null +++ b/tests/spelling.R @@ -0,0 +1,3 @@ +if(requireNamespace('spelling', quietly = TRUE)) + spelling::spell_check_test(vignettes = TRUE, error = FALSE, + skip_on_cran = TRUE)