Skip to content

Commit

Permalink
Copy vec_proxy to avoid in-place modification.
Browse files Browse the repository at this point in the history
  • Loading branch information
khusmann committed Sep 5, 2024
1 parent cc23be7 commit 1e97941
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions R/interlaced.R
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,11 @@ format.interlacer_interlaced_pillar <- function(x, width, ...) {

#' @export
vec_proxy.interlacer_interlaced <- function(x, ...) {
data_frame(
v = value_channel(x),
m = na_channel(x),
duplicate(
data_frame(
v = value_channel(x),
m = na_channel(x),
)
)
}

Expand Down

0 comments on commit 1e97941

Please sign in to comment.