diff --git a/R/data.table.R b/R/data.table.R index 6594cb928..bac200b8a 100644 --- a/R/data.table.R +++ b/R/data.table.R @@ -459,9 +459,9 @@ replace_dot_alias = function(e) { if (!len_common_names) stopf("Attempting to do natural join but no common columns in provided tables") if (verbose) { which_cols_msg = if (len_common_names == length(x)) { - catf("Joining but 'x' has no key, natural join using all 'x' columns") + catf("Joining but 'x' has no key, natural join using all 'x' columns\n") } else { - catf("Joining but 'x' has no key, natural join using: %s", brackify(common_names)) + catf("Joining but 'x' has no key, natural join using: %s\n", brackify(common_names)) } } on = common_names