Skip to content

Commit

Permalink
fix: replace seq with seq_len
Browse files Browse the repository at this point in the history
  • Loading branch information
sebffischer committed Sep 18, 2023
1 parent 68ced3e commit 14b8da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/PipeOpFlatFun.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ PipeOpFlatFun = R6Class("PipeOpFlatFun",
function(x, nm) {
flat = as.matrix(x)
d = as.data.table(flat)
d = set_names(d, sprintf("%s_%s", nm, seq(ncol(flat))))
d = set_names(d, sprintf("%s_%s", nm, seq_len(ncol(flat))))
d
}
)
Expand Down

0 comments on commit 14b8da8

Please sign in to comment.