Skip to content

Commit 79560ff

Browse files
committed
comparisons should be made on the value channel only
The interlacer rule is "operations are applied to the value channel" and missing values are automatically masked out. the original behavior did not follow this in order to allow for comparsion of missing reasons. Instead, for missing reason comparsions we will need to define new equality operators that compare both values and missing reason channels. See discussion here for more info: r-lib/vctrs#1928
1 parent 6874cd9 commit 79560ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/interlaced.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ vec_restore.interlacer_interlaced <- function(x, to, ...) {
411411

412412
#' @export
413413
vec_proxy_equal.interlacer_interlaced <- function(x, ...) {
414-
if_else(is.empty(x), list(NULL), vec_chop(x))
414+
value_channel(x)
415415
}
416416

417417
#' @export

0 commit comments

Comments
 (0)