Conversation
|
I don't like that this changes the behavior of |
How could I workaround this + still use |
|
Would you be ok with my modifying Lines 53 to 58 in 04ba5cb Could it e.g. work on a path instead of a package object? |
|
Btw I'll have the same questions for |
| new_words <- sort(spell_check_package(pkg$path, vignettes = vignettes, use_wordlist = FALSE)$word) | ||
| wordfile <- get_wordfile(pkg) | ||
| old_words <- sort(get_wordlist(pkg)) | ||
| new_words <- sort(spell_check_package(pkg, vignettes = vignettes, use_wordlist = FALSE)$word) |
There was a problem hiding this comment.
how could one make this bookdown-compatible too? another update_wordlist() function?
Codecov Report
@@ Coverage Diff @@
## master #32 +/- ##
=======================================
Coverage 45.36% 45.36%
=======================================
Files 7 7
Lines 313 313
=======================================
Hits 142 142
Misses 171 171
Continue to review full report at Codecov.
|
tested locally on dev_guide, manually adding typos and removing DESCRIPTION to see whether it still works.
I was a bit stuck because
get_wordlist()expected a package so I tweakedas_package().At lot of the code depends on whether DESCRIPTION is present/absent, not very elegant.
cf #29