Skip to content
CRAN requires the check problems on this package to be fixed before 2026-08-21 or it will be archived.

broadcast

0.1.9

Broadcasted Array Operations Like 'NumPy'

0packages depend
3.3Kdownloads / year
94.7%test coverage
12/13checks pass

Overview

About
Maintained by Tony WilkesFirst published 2025-09-158 releasesCRAN page ↗GitHub ↗

Implements efficient 'NumPy'-like broadcasted operations for atomic and recursive arrays. In the context of operations involving 2 (or more) arrays, “broadcasting” (AKA singleton expansion) refers to efficiently recycling array dimensions, without making copies. Besides linking to 'Rcpp', 'broadcast' does not use any external libraries in any way; 'broadcast' was essentially made from scratch and can be installed out-of-the-box. The implementations available in 'broadcast' include, but are not limited to, the following. 1) Broadcasted element-wise operations on any 2 arrays; they support a large set of relational, arithmetic, Boolean, string, and bit-wise operations. 2) A faster, more memory efficient, and broadcasted abind-like function, for binding arrays along an arbitrary dimension. 3) Broadcasted ifelse-like and apply-like functions. 4) Casting functions, that cast subset-groups of an array to a new dimension, cast nested lists to dimensional lists, and vice-versa. 5) A few linear algebra functions for statistics. The functions in the 'broadcast' package strive to minimize computation time and memory usage (which is not just better for efficient computing, but also for the environment).

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 20.0 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.01
94.7%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
68%
Return-value docs
100%
References docs
13%

Downloads

3.3K
CRAN downloads in the past year
Rank #10,200 · ~9/day · ~278/mo
Daily download trend is not available in this view yet.
19030 days
98690 days
3.3K1 year
Compare downloads with other packages →
Also on480 r2u9 autocran

Repository

Repository
27Stars
0Forks
0Open issues
0Open PRs
6Releases
271Commits
1Contributors
numpyrmultidimensional-arraysr-packagefastverserstatsrstats-packagecran
License MPL-2.0 · 271 commits · Last activity 2026-07-30 · 0% stars, 30d

Stars over time

2025-07-22 · 102026-07-07 · 27

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/tony-aw/broadcast on 2026-08-03.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.qmd
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.2.0
Imports (2)
Rcppmethods
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

8 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.1.9Latest
    2026-05-29 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.8
    2026-02-20 · diff ↗
  • 0.1.7
    2025-12-14 · diff ↗
  • 0.1.6.1
    2025-11-09 · diff ↗
  • 0.1.5.3
    2025-10-10 · diff ↗
  • 0.1.5.1
    2025-10-04 · diff ↗
  • 0.1.5
    2025-10-02 · diff ↗
  • 0.1.3
    2025-09-15
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-09-15
Total releases
8 / 1 yrs
License
MPL-2.0 OSI
Minimum R
≥ 4.2.0
Download size
592 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy