ropensci / spelling

Tools for Spell Checking in R
https://docs.ropensci.org/spelling
Other
107 stars 25 forks source link

Proper way to run `spell_check_test` #84

Open zachmayer opened 1 month ago

zachmayer commented 1 month ago

I can't figure out the right way to run spell_check_test.

When I run: spelling::spell_check_test(vignettes = TRUE, error = FALSE, skip_on_cran = FALSE) I get:

Error in file(con, "r") : cannot open the connection
In addition: Warning message:
In file(con, "r") :
  cannot open file 'spelling.R': No such file or directory

What's the correct way to invoke the spell checker? Am I supposed to make a spelling.R file locally in my package? Am I supposed to run this command while in a specific directory?