Skip to content

Commit

Permalink
revert nzchar replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebacher committed Mar 12, 2024
1 parent 8ad0200 commit 5897a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/data_to_long.R
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ data_to_long <- function(data,
header = FALSE
)
names(tmp) <- paste0("V", seq_len(ncol(tmp)))
tmp[!nzchar(tmp, keepNA = TRUE)] <- NA_character_
tmp[tmp == ""] <- NA # nolint

stacked_data$ind <- NULL
stacked_data <- cbind(tmp, stacked_data)
Expand Down

0 comments on commit 5897a0d

Please sign in to comment.