Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Aug 10, 2023
1 parent 4d76dc5 commit b744b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-rowmean_n.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test_that("rowmean_n", {
test_that("rowmean_n, errors or messages", {
data(iris)
expect_error(rowmean_n(5, n = 1), regex = "`data` must be")
expect_error(rowmean_n(iris[1], n = 1), regex = "two numeric columns")
expect_error(rowmean_n(iris[1], n = 1), regex = "two numeric")
expect_error(rowmean_n(iris, n = NULL), regex = "numeric value")
expect_error(rowmean_n(iris, n = 1:4), regex = "numeric value")
expect_error(rowmean_n(iris, n = "a"), regex = "numeric value")
Expand Down

0 comments on commit b744b6a

Please sign in to comment.