-
Notifications
You must be signed in to change notification settings - Fork 25
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
Bookdown #32
base: master
Are you sure you want to change the base?
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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