tomaszaba / ipccheckr

Toolkit for Performing IPC Acute Malnutrition-related Data Checks
GNU General Public License v3.0
2 stars 0 forks source link

create a WORDLIST of correctly spelled words but are being flagged as misspelled by spellchecker #4

Closed ernestguevarra closed 4 months ago

ernestguevarra commented 4 months ago

on devtools::check() I see:

X  Comparing ‘spelling.Rout’ to ‘spelling.Rout.save’ ...
   6,14c6
   < Potential spelling errors:
   <   WORD      FOUND IN
   < Bilukha   add_flags.Rd:27
   < Kianian   add_flags.Rd:27
   < MFAZ      add_flags.Rd:5,10,14,24,26
   < MUAC's    add_flags.Rd:10
   < mfaz      add_flags.Rd:14,16
   < muac      add_flags.Rd:14
   < If these are false positive, run `spelling::update_wordlist()`.All Done!
   ---
   > All Done!

If these are correctly spelled words (which I think they are) then do this to create a WORDLIST that will ignore these words in future spellchecks:

spelling::update_wordlist()
tomaszaba commented 4 months ago

Done, thanks.