Skip to content

Commit b5d3534

Browse files
authored
R CMD check can only use aspell (#2424)
Fixes #2376
1 parent 322b6b8 commit b5d3534

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

NEWS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# devtools (development version)
22

3+
* `aspell_env_var()` does a better job of matching R CMD check behaviour,
4+
which is only to use `aspell`, not `hunspell` or `ispell` (#2376).
5+
36
* Installing devtools now installs pkgdown, profvis, bench, miniUI, DT,
47
and urlchecker, ensuring that you have everything needed for package
58
development (#2388).

R/check.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ check_env_vars <- function(cran = FALSE, remote = FALSE, incoming = remote,
237237

238238
aspell_env_var <- function() {
239239
tryCatch({
240-
utils::aspell(NULL)
240+
utils::aspell(NULL, program = "aspell")
241241
c("_R_CHECK_CRAN_INCOMING_USE_ASPELL_" = "TRUE")
242242
}, error = function(e) character())
243243
}

0 commit comments

Comments
 (0)