-
Notifications
You must be signed in to change notification settings - Fork 14
Spell check
Github actions will automatically run a spell check on all Rmds whenever a pull request to the main
branch is filed.
Depending on your preference, you may find it easier to spell check manually on your local computer before pushing to Github.
It will fail if there are more than 2 spelling errors and you'll need to resolve those before being able to merge your pull request.
To resolve those spelling errors, go to this repository's Actions
tab.
Then, click on the GitHub action from the PR you just submitted.
Scroll all the way down to Artifacts
and click spell-check-results
.
This will download a zip file with a TSV that lists all the spelling errors.
Some of these errors may be things that the spell check doesn't recognize for example: ITCR
or DaSL
.
If it's a 'word' the spell check should recognize, you'll need to add this to the dictionary.
Go to the resources/dictionary.txt
file.
Open the file and add the new 'word' to its appropriate place (the words are in alphabetical order).
Then commit the changes to resources/dictionary.txt
to your branch and this should make the spell check status check pass.
You can run spell check locally by calling the script from the top of the repository (your main git repository directory) in bash:
Rscript scripts/spell-check.R
If you encounter any problems or have ideas for improvements to this template repository or this getting started guide, please file an issue here! Your feedback is very much appreciated.
Note all materials in this template are licensed CC-BY and can be repurposed freely with attribution.
- Getting started
- Start a new course!
- Start editing course files
- Content creation tips
- Setting up images and videos
- About citations
- About Docker
- Spell check
- URL check
- Generate docx output
- Borrowing chapters between courses
- Most common errors
- Choosing between platforms
- Publishing with Bookdown
- Publishing on Coursera
- Publishing on Leanpub
- Making quizzes private (Leanpub and Coursera)
- Set up user feedback method
- Change title and style
- Credits section
- Adding Google Analytics Traffic Tracking
- Release a course for public viewing