Changelog
Source:NEWS.md
reshape2 1.4.5
CRAN release: 2025-11-12
- No longer uses non-API entry points (@kevinushey, #106).
- Other various fixes for
R CMD checkissues.
Version 1.4.3
CRAN release: 2017-12-11
Fix C/C++ problems causing R CMD CHECK errors.
melt.data.frame()throws when encountering objects of typePOSIXlt, and requests a conversion to the (much saner)POSIXcttype.
Version 1.4.1
CRAN release: 2014-12-06
melt.data.frame()now properly sets the OBJECT bit onvaluevariable generated if attributes are copied (for example, when multiple POSIXct columns are concatenated to generate thevaluevariable) (#50)melt.data.frame()can meltdata.frames containinglistelements asidcolumns. (#49)melt.data.frame()no longer errors whenmeasure.varsisNULLor empty. (#46)
Version 1.4
CRAN release: 2014-04-23
dcast()andacast()gain a useful error message if you usevalue_varintead ofvalue.var(#16), and ifvalue.vardoesn’t exist (#9). They also work better with.in specifications like. ~ .orx + y ~ .melt.array()creates factor variables with levels in the same order as the original rownames (#19)melt.data.frame()gains an internal Rcpp / C++ implementation, and is now many orders of magnitudes faster. It also preserves identical attributes for measure variables, and now throws a warning if they are dropped. (Thanks to Kevin Ushey)melt.data.frame()gains afactorsAsStringsargument that controls whether factors are converted to character when melted as measure variables. This isTRUEby default for backward compatibility.melt.array()gains aas.isargument which can be used to prevent dimnames being converted withtype.convert()
Version 1.2.2
CRAN release: 2012-12-04
Fix incompatibility with plyr 1.8
Fix evaluation bug revealed by knitr. (Fixes #18)
Fixed a bug in
meltwhere it didn’t automatically get variable names when used with tables. (Thanks to Winston Chang)
Version 1.2.1
CRAN release: 2012-01-10
- Fix bug in multiple margins revealed by plyr 1.7, but caused by mis-use of data frame subsetting.
Version 1.2
CRAN release: 2011-11-18
Fixed bug in melt where factors were converted to integers, instead of to characters
When the measured variable is a factor,
dcastnow converts it to a character rather than throwing an error.acaststill returns a factor matrix. (Thanks to Brian Diggs.)acastis now much faster, due to fixing a very slow way of naming the output. (Thanks to José Bartolomei Díaz for the bug report)value_varargument toacastanddcastrenamed tovalue.varto be consistent with other argument namesOrder
NAfactor levels before(all)when creating marginsCorrected reshape citation.
Version 1.1
CRAN release: 2011-01-04
melt.data.frameno longer turns characters into factorsAll melt methods gain a
na.rmandvalue.namearguments - these previously were only possessed bymelt.data.frame(Fixes #5)