Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-umana committed Nov 8, 2024
1 parent 97bd35a commit 39d3e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ geometric_mean <- function(x, method = c(
method <- match.arg(method)

if (method == "positive") {
x_positive <- x[x>0]
x_positive <- x[x > 0]
stopifnot("`x` includes zero or negative values,
check the geometric_mean methods" = all(x_positive > 0))

Expand Down

0 comments on commit 39d3e31

Please sign in to comment.