Skip to content
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

Add spelling errors to get screenshots #473

Merged
merged 4 commits into from
Feb 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions 02-chapter_of_course.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ Every chapter needs to start out with this chunk of code:
```{r, include = FALSE}
ottrpal::set_knitr_image_path()
```
blah
blah blah
qwerty

## Learning Objectives

*Every chapter also needs Learning objectives that will look like this:
Expand Down
Binary file added resources/screenshots/preview_comment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/screenshots/spell_check_comment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions scripts/spell-check.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ root_dir <- rprojroot::find_root(rprojroot::has_dir(".git"))
# Read in dictionary
dictionary <- readLines(file.path(root_dir, 'resources', 'dictionary.txt'))

# Add mysterious emoji joining character
dictionary <- c(dictionary, spelling::spell_check_text("⬇️")$word)

# Only declare `.Rmd` files but not the ones in the style-sets directory
files <- list.files(pattern = 'Rmd$', recursive = TRUE, full.names = TRUE)

Expand Down