We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4dfacb commit 1621bf1Copy full SHA for 1621bf1
inst/hooks/exported/spell-check.R
@@ -17,10 +17,12 @@ if (file.exists(path_wordlist)) {
17
ignore <- readLines(path_wordlist, encoding = "UTF-8")
18
action <- "update"
19
} else {
20
- if (!dir.exists(dirname(path_wordlist))) {
21
- dir.create(dirname(path_wordlist))
+ if (isFALSE(arguments$no_update)) {
+ if (!dir.exists(dirname(path_wordlist))) {
22
+ dir.create(dirname(path_wordlist))
23
+ }
24
+ file.create(path_wordlist)
25
}
- file.create(path_wordlist)
26
ignore <- character()
27
action <- "create"
28
0 commit comments