Skip to content

Commit 684df79

Browse files
committed
comment
1 parent dd6fbc4 commit 684df79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/data_modify.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ data_modify.grouped_df <- function(data, ..., .if = NULL, .at = NULL, .modify =
329329
if (!is.null(.at) && !is.null(.if)) {
330330
insight::format_error("You cannot use both `.at` and `.if` at the same time.")
331331
}
332-
# make sure either .at or .if is defined, not both
332+
# make sure at least one of .at or .if is defined
333333
if (is.null(.at) && is.null(.if)) {
334334
insight::format_error("You need to specify either `.at` or `.if`.")
335335
}

0 commit comments

Comments
 (0)