Skip to content

Commit

Permalink
Merge pull request #347 from UCD-SERG/lint-pipe-type
Browse files Browse the repository at this point in the history
require base pipe
  • Loading branch information
d-morrison authored Jan 30, 2025
2 parents 2dd4ed3 + be04786 commit 10ebe98
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 74 deletions.
3 changes: 2 additions & 1 deletion .lintr
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
linters: linters_with_defaults(
return_linter = NULL)
return_linter = NULL,
pipe_consistency_linter(pipe = "|>"))
encoding: "UTF-8"

2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: serocalculator
Title: Estimating Infection Rates from Serological Data
Version: 1.3.0.9006
Version: 1.3.0.9007
Authors@R: c(
person("Peter", "Teunis", , "[email protected]", role = c("aut", "cph"),
comment = "Author of the method and original code."),
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

## Internal changes

* Started checking for use of base pipe instead of magrittr pipe
by linter (#347)
* Removed `ldpar()` from API (#345)
* Added test for `sim.cs()` (#344)
* Added test for internal function `ab()` (#342)
Expand Down
75 changes: 3 additions & 72 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
@@ -1,119 +1,54 @@
Aga
Ang
Anik
BMC
Bonačić
Bordetella
CMD
Campylobacter
Ceper
Chiang
Codecov
De
Dhulikhel
Diekmann
Duynhoven
Eijkeren
FIC
Falkenhorst
Fogarty
Friesema
GHA
Gageldonk
Graaf
Gras
Grolemund
Hassen
Heijden
Hessians
HlyE
IgA
IgG
IgM
Jernberg
Juba
Juma
Kamenskaya
Kretzschmar
Krogfelt
Kuusi
LV
Lik
Linneberg
Lotka
Marinović
Melker
Mertens
Molbak
Monge
Mughini
Muktadir
Munira
NIAID
NLL
Nadu
OSF
Orientia
PLoS
PRs
Pebody
Polina
RStudio
Rai
Roord
Rtools
Rumunu
Sadkowska
Saha
Saiful
Sajib
Sarkar
Schellekens
Seidman
Senjuti
Sero
SeroEpidemiology
Seroincidence
Serological
Simonsen
Sira
Sium
Strid
Syed
TW
Todys
Unif
Valk
Vectorized
Vellore
Versteegh
Volterra
Wetering
Wiens
Zota
al
ast
behaviour
bioassays
biomarker
biomarkers
boldsymbol
callout
campylobacteriosis
cdot
codecov
csv
de
der
devtools
displaystyle
doi
dt
epidem
et
expf
forall
frac
fx
geoms
ggproto
hemolysin
Expand All @@ -122,17 +57,17 @@ invf
isos
isotype
isotypes
jinf
jitter
kDa
le
leq
linter
llik
logf
magrittr
mathbb
mathbf
mathcal
mc
mcmc
modelled
multicohort
Expand All @@ -144,7 +79,6 @@ overline
param
params
pipetting
pmed
pmf
pre
predation
Expand All @@ -154,7 +88,6 @@ qquad
recombinant
renewcommand
rescale
savePath
sectionally
sera
seroconversion
Expand All @@ -164,14 +97,12 @@ seroepidemiology
seroincidence
seroincidences
serologic
serological
seronegative
seroresponse
seroresponses
serosurvey
serosurveys
smp
smpl
subfigures
th
tibble
Expand Down

0 comments on commit 10ebe98

Please sign in to comment.