Skip to content

Commit 0625aa2

Browse files
committed
explicitly map
1 parent 41e7a03 commit 0625aa2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/class_pattern.R

+2-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,8 @@ pattern_combine_niblings_siblings <- function(niblings, siblings) {
360360
}
361361

362362
pattern_name_branches <- function(parent, niblings) {
363-
suffixes <- digest_chr32(do.call(paste, niblings))
363+
tuples <- do.call(paste, niblings)
364+
suffixes <- map_chr(tuples, digest_chr32)
364365
paste0(parent, "_", suffixes)
365366
}
366367

0 commit comments

Comments
 (0)