|
37 | 37 | Error in `expect_condition()`: |
38 | 38 | ! Can't supply `...` unless `regexp` is set. |
39 | 39 | * Unused arguments: `foo`. |
40 | | - i `...` is passed to `grepl()` if and only if the `regexp` argument is used. |
| 40 | + i Did you mean to use `regexp` so `...` is passed to `grepl()`? |
41 | 41 | Code |
42 | 42 | expect_condition(stop("Hi!"), , , "bar") |
43 | 43 | Condition |
44 | 44 | Error in `expect_condition()`: |
45 | 45 | ! Can't supply `...` unless `regexp` is set. |
46 | 46 | * Unused arguments: `..1`. |
47 | | - i `...` is passed to `grepl()` if and only if the `regexp` argument is used. |
| 47 | + i Did you mean to use `regexp` so `...` is passed to `grepl()`? |
48 | 48 | Code |
49 | 49 | expect_condition(stop("Hi!"), , , "bar", fixed = TRUE) |
50 | 50 | Condition |
51 | 51 | Error in `expect_condition()`: |
52 | 52 | ! Can't supply `...` unless `regexp` is set. |
53 | 53 | * Unused arguments: `..1` and `fixed`. |
54 | | - i `...` is passed to `grepl()` if and only if the `regexp` argument is used. |
| 54 | + i Did you mean to use `regexp` so `...` is passed to `grepl()`? |
55 | 55 | Code |
56 | 56 | expect_condition(stop("Hi!"), "x", foo = "bar") |
57 | 57 | Condition |
|
65 | 65 | Error in `expect_condition()`: |
66 | 66 | ! Can't supply `...` unless `regexp` is set. |
67 | 67 | * Unused arguments: `pattern` and `fixed`. |
68 | | - i `...` is passed to `grepl()` if and only if the `regexp` argument is used. |
| 68 | + i Did you mean to use `regexp` so `...` is passed to `grepl()`? |
69 | 69 |
|
0 commit comments