Releases: NicChr/cheapr
cheapr 0.9.9
-
New functions
cheapr_var
andcheapr_rev
. -
get_breaks
has been improved and a few small bugs have been fixed. -
as_discrete
gains a new argumentinf_label
. -
Safety improvements to
as_discrete
. -
Removed internal C++ functions as package installation was failing for
some machines.
cheapr 0.9.3
-
Range based subsetting, e.g.
sset(x, 1:10)
should now be faster. -
New functions
val_count
andwhich_val
for common scalar operations. -
Some functions gain a 'names' argument.
-
Replaced calls to
STRING_PTR
withSTRING_PTR_RO
to satisfy R package check results. -
lag_
should now be somewhat faster. -
Fixed a small bug in
lag2_
that would produce incorrect results when supplying a vector of lags and an order vector.
cheapr 0.9.2
-
A signed integer overflow bug in
lag2_
has been fixed. This occurred when
supplyingNA
lags. -
lag2_
no longer fills the names of named vectors when thefill
value is supplied.
cheapr 0.9.1
-
New function
recycle
to help recycle R objects to a common size. -
The
set
functions that update by reference are now ALTREP aware and
take a copy when the input is an ALTREP object. -
New function
lag2_
as a generalised solution for complex lags. It supports
dynamic lag vectors, lags using an order vector, and custom run lengths.
It doesn't support updating by reference or long vectors.
cheapr 0.9.0
-
New function
lag_
for very fast lags and leads on vectors and data frames.
It includes aset
argument allowing users to create a lagged vector
by reference without copies. -
set_round
has been amended to improve floating point accuracy.
cheapr 0.8.0
-
New 'set' Math operations inspired by 'data.table' and 'collapse'
that transform data by reference. -
Fixed an inconsistency of when
sequence_()
would error when supplied with
a zero-length size argument. -
Fixed a protection stack imbalance in
count_val(x)
whenx
isNULL
. -
sset
has been optimised for wide data frames with many variables.
It is also faster when applied to a data frame with dates, date-times and factors. -
In
sset
, wheni
is a logical vector it must match the length of x. -
sset
can now handle 'ALTREP' compact real sequences as well.