collapse version 2.0.8
-
In
pivot(..., values = [multiple columns], labels = "new_labels_column", how = "wieder")
, if the columns selected throughvalues
already have variable labels, they are concatenated with the new labels provided through"new_labels_col"
using" - "
as a separator (similar tonames
where the separator is"_"
). -
whichv()
and operators%==%
,%!=%
now properly account for missing double values, e.g.c(NA_real_, 1) %==% c(NA_real_, 1)
yieldsc(1, 2)
rather than2
. Thanks @eutwt for flagging this (#518). -
In
setv(X, v, R)
, if the type ofR
is greater thanX
e.g.setv(1:10, 1:3, 9.5)
, then a warning is issued that conversion ofR
to the lower type (real to integer in this case) may incur loss of information. Thanks @tony-aw for suggesting (#498). -
frange()
has an optionfinite = FALSE
, likebase::range
. Thanks @MLopez-Ibanez for suggesting (#511). -
varying.pdata.frame(..., any_group = FALSE)
now unindexes the result (as should be the case).