Skip to content

Commit fe23e00

Browse files
style: avoid {} if not needed
1 parent 672bdbb commit fe23e00

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

R/merge.R

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,8 @@ merge.data.table = function(x, y, by = NULL, by.x = NULL, by.y = NULL, all = FAL
9797
y = y[yind]
9898
}
9999

100-
dt = tryCatch({
101-
y[x, nomatch=if (all.x) NA else NULL, on=by, allow.cartesian=allow.cartesian]
102-
},
100+
dt = tryCatch(
101+
y[x, nomatch=if (all.x) NA else NULL, on=by, allow.cartesian=allow.cartesian],
103102
dt_bmerge_incompatible_type_error = function(e) {
104103
x_part_col_name = e$bmerge_i_arg_col_name
105104
x_part_type = e$bmerge_i_arg_type

0 commit comments

Comments
 (0)