Skip to content

einops

0.2.1Package record

Flexible, Powerful, and Readable Tensor Operations

0packages depend
2.1Kdownloads / year
57.8%test coverage
13/13flavors OK

Overview

About

Perform tensor operations using a concise yet expressive syntax inspired by the Python library of the same name. Reshape, rearrange, and combine multidimensional arrays for scientific computing, machine learning, and data analysis. Einops simplifies complex manipulations, making code more maintainable and intuitive. The original implementation is demonstrated in Rogozhnikov (2022) https://openreview.net/forum?id=oapKSVM2bcj.

Changes in 0.2.1

Changes

  • For CRAN check compatibility and issues with torch::torch_install(), torch-related tests auto skip on CRAN.
  • Move lifecycle from imports to Suggests since it is a build time developer dependency instead of a user-required dependency.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.1
READMEYes · 583 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.2.1Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
45 (38 internal)includes a package overview page
Examples that run
100%8 run in a plain check (5 of them under a condition)
Exported functions with examples
86%
Documented parameters
85%
Return-value docs
100%
Help pages citing references
2%
Vignettes (1)

Downloads

2.1K
CRAN downloads in the past year
Rank #22,169 · ~6/day · ~177/mo
Daily download trend is not available in this view yet.
18630 days
60390 days
2.1K1 year
Compare downloads with other packages →
Also on480 r2u3 autocran

Repository

4Stars
0Forks
0Open issues
0Open PRs
3Releases
451Commits
1Commit identities
deep-learningeinopstensorarraycranr
451 commits · Last activity 2025-08-29 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
15
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-25 · 32026-09-12 · 4
PracticesBeta

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

Checks run against github.com/qile0317/einops on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Code of conductContributing guide
Docs source (3)
pkgdown

GitHub Pages site last deployed 2025-08-29 · The repository has a site deploy workflow

pkgdown site last built 2025-08-29, before release 0.2.1 (2025-09-03)

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 4 practices
Reproducibility and dev environment (2)
DockerfileDev Container
CRAN release process (1)
cran-comments.md
Research and citation (1)
CITATION.cff
Lint, format, editor (2)
lintrLint workflow
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)

Installing einops adds 113 packages (52 with compiled code, 70 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.

Depends (1)
R >= 3.5
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Maintainer since 0.2.1 (2025), Author, Copyright holder
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.1Latest
    2025-09-03 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-09-03
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5
Bundled data
13 KB / 1 file
Download size
217 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("einops")

The package provides a citation file, so citation() returns the authors' own entry.

The repository also keeps a CITATION.cff.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for einops version 0.2.1 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

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