Skip to content

Commit

Permalink
Check files in subdirectory of vignettes, suggested by @dpprdan in #11
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Dec 16, 2018
1 parent 3750076 commit 099f146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/spell-check.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spell_check_package <- function(pkg = ".", vignettes = TRUE, use_wordlist = TRUE
if(isTRUE(vignettes)){
# Where to check for rmd/md files
vign_files <- list.files(file.path(pkg$path, "vignettes"), pattern = "\\.r?md$",
ignore.case = TRUE, full.names = TRUE)
ignore.case = TRUE, full.names = TRUE, recursive = TRUE)
root_files <- list.files(pkg$path, pattern = "(readme|news|changes).r?md",
ignore.case = TRUE, full.names = TRUE)

Expand Down

0 comments on commit 099f146

Please sign in to comment.