Skip to content

Commit 4fc59d6

Browse files
committed
Fixed harcoded "#" separator
1 parent 637ac10 commit 4fc59d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/multilabel_binarizer.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ multi_label_binarizer <- function(data, feature, sep = "#") {
4949
)
5050

5151
detection_labels <- labels_raw %>%
52-
stringr::str_replace_all("^|$", "#")
52+
stringr::str_replace_all("^|$", sep)
5353

5454
# Raw processed feature
5555
processed_feature <- pad_data_with_sep(data, {{ feature }}, sep) %>%

0 commit comments

Comments
 (0)