NEWS.md

santoku 0.10.0

santoku 0.9.1

santoku 0.9.0

Breaking changes

There are important changes to close_end.

r chop(1:2, 1:2) ## [1] [1, 2) {2} ## Levels: [1, 2) {2}

Whereas now:

r chop(1:2, 1:2) ## [1] [1, 2] [1, 2] ## Levels: [1, 2]

r chop(1:4, 2:3, close_end = TRUE) ## [1] [1, 2) [2, 3] [2, 3] (3, 4] ## Levels: [1, 2) [2, 3] (3, 4]

Whereas now:

r chop(1:4, 2:3, close_end = TRUE) ## [1] [1, 2) [2, 3) [3, 4] [3, 4] ## Levels: [1, 2) [2, 3) [3, 4]

We changed this behaviour to be more in line with user expectations.

r chop(1:5, c(Low = 1, Mid = 2, High = 4)) ## [1] Low Mid Mid High High ## Levels: Low Mid High Names can also be used for labels in probs in chop_quantiles() and proportions in chop_proportions().

I expect these to be the last important breaking changes before we release version 1.0 and mark the package as "stable". If they cause problems for you, please file an issue.

Other changes

santoku 0.8.0

Breaking changes

Other changes

santoku 0.7.0

Breaking changes

Other changes

Bugfixes

santoku 0.6.0

santoku 0.5.0

santoku 0.4.1

santoku 0.4.0

Interface changes

The new version has some interface changes. These are based on user experience, and are designed to make using chop() more intuitive and predictable.

Other changes

santoku 0.3.0

santoku 0.2.0



Try the santoku package in your browser

Any scripts or data that you put into this service are public.

santoku documentation built on Oct. 12, 2023, 5:13 p.m.