Skip to content

Commit

Permalink
Closes #1538. Added "\n" to melt's message.
Browse files Browse the repository at this point in the history
  • Loading branch information
arunsrinivasan committed Feb 23, 2016
1 parent d96881d commit 44e1d13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion R/fmelt.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ melt.data.table <- function(data, id.vars, measure.vars, variable.name = "variab
as.logical(verbose))
setDT(ans)
if (any(duplicated(names(ans)))) {
cat("Duplicate column names found in molten data.table. Setting unique names using 'make.names'")
cat("Duplicate column names found in molten data.table. Setting unique names using 'make.names'\n")
setnames(ans, make.unique(names(ans)))
}
setattr(ans, 'sorted', NULL)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@

14. `?truelength.Rd` is fixed to reflect that over-allocation happens on data.tables loaded from disk only during column additions and not deletions, [#1536](https://github.com/Rdatatable/data.table/issues/1536). Thanks to @Roland and @rajkrpan.

15. Added `\n` to message displayed in `melt.data.table` when duplicate names are found, [#1538](https://github.com/Rdatatable/data.table/issues/1538). Thanks @Franknarf1.

### Changes in v1.9.6 (on CRAN 19 Sep 2015)

#### NEW FEATURES
Expand Down

0 comments on commit 44e1d13

Please sign in to comment.