broadcast
Broadcasted Array Operations Like NumPy
broadcast is filling in NumPy-style array broadcasting for R, operator by operator.
◆Recent moves
- 2mo ago
nor and longest-common-substring operators added; nand corrected
Two new operators — Boolean nor and the lcss string operation — plus a correction to nand, which was not actually computing !(x & y) because of C++ short-circuit evaluation. A defect in a Boolean primitive is the kind of thing that silently propagates, so the fix matters more than the additions.
View source ↗ - 5mo ago
checkNULL, checkNA and ecumprob added
Two inspection methods and a cumulative-probability function for statistics join the surface, with NA and NaN handling relaxed for complex-number addition and subtraction. The remainder is build hygiene — an Rchk false positive silenced and a rebuild against current Rcpp.
View source ↗ - 8mo ago
Zero-length results and attribute preservation made consistent
Type consistency work: zero-length results from bc.b() now return raw when both inputs are raw rather than always logical, the comparison operators accept integer and logical pairs, and the comment attribute survives most methods. Edge-case alignment with the non-degenerate cases.
View source ↗ - 9mo ago
acast dimnames bug fixed; casting and helper surface widens
A dimnames defect in acast() that could error out is fixed, and the surface grows in several directions at once — cast_shallow2atomic(), automatic dimnames in cast_hier2dim(), bc_strrep(), vector2array(), undim(), the bcr shorthand and mbroadcasters(). Broadcaster class propagation through bind_array() is the quieter structural change.
View source ↗ - 10mo ago
recurse_classed replaced by recurse_all in casting methods
The casting methods' recursion control is generalized from classed lists to classed and dimensional lists, and S3 methods start rejecting unknown ellipsis arguments instead of ignoring them. Installation size and compile time drop with almost no performance cost.
View source ↗ - 11mo ago
Title case fixed for CRAN submission
A submission-process release correcting the package title's capitalization. The starting line of the package's public history rather than a change to it.
View source ↗