Skip to content

einops

0.2.1

Flexible, Powerful, and Readable Tensor Operations

0packages depend
2Kdownloads / year
57.8%test coverage
13/13checks pass

Overview

About
Maintained by Qile YangFirst published 2025-09-031 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 2.6 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.54
57.8%
Coverage · measured lines
91%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 583 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
85%
Return-value docs
100%
References docs
2%

Downloads

2K
CRAN downloads in the past year
Rank #21,932 · ~6/day · ~168/mo
Daily download trend is not available in this view yet.
10530 days
49890 days
2K1 year
Compare downloads with other packages →
Also on493 r2u14 autocran

Repository

Repository
3Stars
0Forks
0Open issues
0Open PRs
3Releases
451Commits
1Contributors
deep-learningeinopstensorarraycranr
451 commits · Last activity 2025-08-29 · 0% stars, 30d

Stars over time

2025-07-08 · 12026-07-07 · 3

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/qile0317/einops on 2026-08-09.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (2)
DockerfileDev Container
CRAN release process (1)
cran-comments.md
Research and citation (1)
CITATION.cff
Show all practices
Lint, format, editor (1)
lintr
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

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

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.1Latest
    2026-03-10 · 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
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("einops")

The authors publish a CITATION.cff, so they have said how they want this cited. Run citation() and use what it gives you.

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-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, 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