Skip to content

Commit

Permalink
Mention S4 dropping of support in gsplit().
Browse files Browse the repository at this point in the history
  • Loading branch information
SebKrantz committed Jun 25, 2024
1 parent 055d7d1 commit 375445f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# collapse 2.0.15

* Some changes on the C-side to more the package closer to C API compliance. One notable change is that `gsplit()` no longer supports S4 objects (because `SET_S4_OBJECT` is not part of the API and `asS4()` is too expensive for tight loops). I cannot think of a single example where it would be necessary to split and recombine an S4 object, but if you do have applications please file an issue.

* `pivot()` has new arguments `FUN = "last"` and `FUN.args = NULL`, allowing wide and recast pivots with aggregation (default last value as before). `FUN` currently supports a single function returning a scalar value. *Fast Statistical Functions* receive vectorized execution. `FUN.args` can be used to supply a list of function arguments, including data-length arguments such as weights. There are also a couple of internal functions callable using function strings: `"first"`, `"last"`, `"count"`, `"sum"`, `"mean"`, `"min"`, or `"max"`. These are built into the reshaping C-code and thus extremely fast. Thanks @AdrianAntico for the request (#582).

* `join()` now provides enhanced verbosity, indicating the average order of the join between the two tables, e.g.
Expand Down

0 comments on commit 375445f

Please sign in to comment.