where WORDLIST refers to .aspell/WORDLIST.rds, which comprise an acceptance word list, e.g.
saveRDS(accepted_words, file = ".aspell/WORDLIST.rds", version = 2L)
This can be used to avoid R CMD check --as-cran NOTEs (which often are reported by the win-builder or CRAN Incoming services), e.g. Possibly mis-spelled words in DESCRIPTION: ...
Wish
It would be great if spelling could provide "standards" and functions for setting this up.
Also, maybe spelling could fall back to .aspell/WORDLIST.rds, if inst/WORDLIST is not found.
Background
Per
help("aspell-utils", package = "utils")
, it's possible to add custom dictionaries controlled via.aspell/defaults.R
, e.g.where
WORDLIST
refers to.aspell/WORDLIST.rds
, which comprise an acceptance word list, e.g.This can be used to avoid
R CMD check --as-cran
NOTEs (which often are reported by the win-builder or CRAN Incoming services), e.g.Possibly mis-spelled words in DESCRIPTION: ...
Wish
It would be great if spelling could provide "standards" and functions for setting this up.
Also, maybe spelling could fall back to
.aspell/WORDLIST.rds
, ifinst/WORDLIST
is not found.References