Skip to content

Commit 1120686

Browse files
committed
prevent re-classing upon validation
1 parent 1a8cfe3 commit 1120686

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

R/layer.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ validate_mapping <- function(mapping, call = caller_env()) {
210210
}
211211

212212
cli::cli_abort(msg, call = call)
213+
} else {
214+
return(mapping)
213215
}
214216

215217
# For backward compatibility with pre-tidy-eval layers

0 commit comments

Comments
 (0)