Skip to content

Commit

Permalink
add spelling test and custom wordlist
Browse files Browse the repository at this point in the history
  • Loading branch information
cpauvert committed Sep 1, 2023
1 parent 55ed3b3 commit c7253f9
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 2 deletions.
4 changes: 3 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ Imports:
tidyselect,
tools,
utils
Suggests:
Suggests:
spelling,
knitr,
rmarkdown,
testthat
Expand All @@ -45,3 +46,4 @@ Config/fusen/version: 0.5.2
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
Language: en-US
2 changes: 1 addition & 1 deletion dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN apt-get update \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /var/cache/* /var/lib/*

RUN install2.r --ncpus -1 --repos https://cloud.r-project.org --error --skipinstalled fusen MALDIquant MALDIquantForeign tidyverse tidygraph coop markdown styler magick knitr rmarkdown
RUN install2.r --ncpus -1 --repos https://cloud.r-project.org --error --skipinstalled fusen MALDIquant MALDIquantForeign tidyverse coop markdown styler magick knitr rmarkdown spelling

# Add configuration file for Rstudio
RUN echo '{\
Expand Down
64 changes: 64 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
Aerts
Bioinformatics
Biotyper
Bruker
CMD
Canck
Carlier
Cleenwerck
Cnockaert
Dawyndt
De
Der
Dereplicate
Dereplication
Desorption
Dumolin
Gibb
Golay
Jeugt
Junkova
MALDI
MALDIquant
MSPs
MSystems
ORCID
Peiren
Rmarkdown
Rochette
SPeDE
Savitzky
Schellaert
Smrhova
Spectrometry
StackOverflow
Strejcek
Strejeck
Strimmer
SuperSmoother
TOF
Uhlik
Vandamme
Verheyde
Wieme
al
bruker
codecov
csv
dereplicate
dereplication
desorption
ekstroem
et
funder
fusen
kDa
magrittr
modularity
natively
rRNA
scalable
spectrometry
tibble
tidyverse
à
3 changes: 3 additions & 0 deletions tests/spelling.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if(requireNamespace('spelling', quietly = TRUE))
spelling::spell_check_test(vignettes = TRUE, error = FALSE,
skip_on_cran = TRUE)

0 comments on commit c7253f9

Please sign in to comment.