Skip to content

Commit

Permalink
explain opts_partial_match_old
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelru committed Feb 1, 2024
1 parent 07db7cc commit 57e1b16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/setup-options.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# `opts_partial_match_old` is left for exclusions due to partial matching in dependent packages (i.e. not fixable here)
# it might happen that it is not used right now, but it is left for possible future use
# use with: `withr::with_options(opts_partial_match_old, { ... })` inside the test
opts_partial_match_old <- list(
warnPartialMatchDollar = getOption("warnPartialMatchDollar"),
warnPartialMatchArgs = getOption("warnPartialMatchArgs"),
Expand Down

0 comments on commit 57e1b16

Please sign in to comment.