-
Notifications
You must be signed in to change notification settings - Fork 14
URL check
Table of Contents generated with DocToc
Github actions will automatically run a url check on all Rmds and mds whenever a pull request to the main
branch is filed. See this section about how to customize what checks are run.
Depending on your preference, you may find it easier to url check manually on your local computer before pushing to Github.
It will fail if there are any broken urls and you'll need to resolve those before being able to merge your pull request.
Click on the GitHub comment that has the download link to url errors that need to be resolved.
Some of these errors may be things that aren't actually a url. If so, then add these to the resources/ignore-urls.txt
file.
Add the fake url exactly as it is reported in the check_reports/url_checks.tsv
file that is linked in the comment.
Then commit your adds to resources/ignore-urls.txt
to your working branch and this should make the url check status check pass.
You can run url check locally by calling the script from the top of the repository (your main git repository directory) in bash:
Rscript scripts/url-check.R
The report will be saved to check_reports/url_checks.tsv
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