Skip to content

Commit 21777bd

Browse files
Merge pull request #69 from huisman/patch-5
Fix a small typo
2 parents d575bd3 + 8d43fd0 commit 21777bd

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

R/trace_explorer.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ trace_explorer.eventlog <- function(log,
8989
"x" = "You supplied a {.cls {class(coverage)}}: {.val {coverage}}"))
9090
} else if(is.null(coverage)) {
9191
if(n_traces <= 0 || !is_integerish(n_traces, n = 1))
92-
cli_abort(c("{.arg n_traces} must be an interger-like {.cls numeric} larger than {.val {0}}.",
92+
cli_abort(c("{.arg n_traces} must be an integer-like {.cls numeric} larger than {.val {0}}.",
9393
"x" = "You supplied a {.cls {class(n_traces)}}: {.val {n_traces}}"))
9494
}
9595

tests/testthat/_snaps/trace_explorer.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@
2020

2121
# test trace_explorer on eventlog with param `n_traces`
2222

23-
`n_traces` must be an interger-like <numeric> larger than 0.
23+
`n_traces` must be an integer-like <numeric> larger than 0.
2424
x You supplied a <numeric>: -1
2525

2626
---
2727

28-
`n_traces` must be an interger-like <numeric> larger than 0.
28+
`n_traces` must be an integer-like <numeric> larger than 0.
2929
x You supplied a <numeric>: 0
3030

3131
---
3232

33-
`n_traces` must be an interger-like <numeric> larger than 0.
33+
`n_traces` must be an integer-like <numeric> larger than 0.
3434
x You supplied a <numeric>: 1.5
3535

3636
---
3737

38-
`n_traces` must be an interger-like <numeric> larger than 0.
38+
`n_traces` must be an integer-like <numeric> larger than 0.
3939
x You supplied a <character>: "1"
4040

4141
# test trace_explorer on eventlog with param `type`

0 commit comments

Comments
 (0)