Skip to content

Commit

Permalink
Add setup-options to get a warning for partial matching
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo committed Jun 12, 2023
1 parent fc161d6 commit 419749e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/testthat/setup-options.R
@@ -0,0 +1,7 @@
# We want to flag partial matching as part of our testing & continuous
# integration process because it makes code more brittle.
options(
warnPartialMatchAttr = TRUE,
warnPartialMatchDollar = TRUE,
warnPartialMatchArgs = TRUE
)

0 comments on commit 419749e

Please sign in to comment.