-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use_spell_check() does not find typos #542
Comments
I did some digging and found this in the documentation for
For me, this variable was not set. After setting I then used Or I could create a new issue in the |
I think the devtools-verse does generally set
So several things are interacting here. In any case, I don't think there is anything to be done about it in usethis. I note that the test results show up beautifully for me in travis logs, e.g. https://travis-ci.org/r-lib/usethis/jobs/466364994#L1202-L1219 Until the rcmdcheck issue is fixed, that's where I'm looking. |
Thanks @jennybc for looking into this. I just realised that everything works fine when I use
I'm still a bit confused why this happens (so it would be great if someone wants to elaborate) but at least I know how to get around it. About the printing problem: I prefer the tests to fail when there is a misspelled word. So I can either resolve it or add to my WORDLIST. So I didn't even notice that. Anyway, it seems |
First of all: Thanks for this awsome package. It made developing packages so incredibly easy!
Now the issue I have: I used
usethis::use_spell_check()
to add an automatic spell check to a little fun package I wrote: www.github.com/JBGruber/rwhatsappNow I found a typo in the documentation which was not picked up before. The typo is reported by
spelling::spell_check_package()
though. Not sure if I understand something wrong but I thoughusethis::use_spell_check()
would cause a warning when runningdevtools::check()
.reprex
I use the said package as reprex. You could also try it by adding a typo to one of your own.
some output
These are the last lines of output for me when running
devtools::check()
and the output ofspelling::spell_check_package()
And here comes my
session_info()
in case you need it.Thanks!
The text was updated successfully, but these errors were encountered: