Skip to content

calculus

1.1.0Package record

High Dimensional Numerical and Symbolic Calculus

7packages dependsuggested by 1
62.8Kdownloads / year
75.2%test coverage
13/13flavors OK

Overview

About

Efficient C++ optimized functions for numerical and symbolic calculus as described in Guidotti (2022) doi:10.18637/jss.v104.i05. It includes basic arithmetic, tensor calculus, Einstein summing convention, fast computation of the Levi-Civita symbol and generalized Kronecker delta, Taylor series expansion, multivariate Hermite polynomials, high-order derivatives, ordinary differential equations, differential operators (Gradient, Jacobian, Hessian, Divergence, Curl, Laplacian) and numerical integration in arbitrary orthogonal coordinate systems: cartesian, polar, spherical, cylindrical, parabolic or user defined by custom scale factors.

Changes in 1.1.0
  • overload is.numeric to include complex numbers

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.1 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-09-19
  • ERROR12 OK, 1 ERROR2026-08-22
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
Show 4 earlier changesHide 4 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.0
READMEYes · 325 wordsVignettesYes · 7 · dynamicNEWSYes · 100% structured · mentions 1.1.0Citation fileYes · cites a publicationWebsiteYes · pkgdown
Cites a JSS article
Help pages
36 (1 internal)includes a package overview page
Examples that run
100%35 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
97%

Downloads

62.8K
CRAN downloads in the past year
Rank #1,789 · ~172/day · ~5.2K/mo
Daily download trend is not available in this view yet.
3.8K30 days
11.4K90 days
62.8K1 year
Compare downloads with other packages →
Also on537 r2u10 autocran2.1K conda_forge92 c2d4u

Repository

48Stars
6Forks
0Open issues
0Open PRs
8Releases
92Commits
3Commit identities
rr-packagecalculusgradientjacobianhessiandivergencecurl
License file reads as GPL-3.0 · 92 commits · Last activity 2025-06-17 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
6
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2025-06-07 · 472026-07-07 · 48
PracticesBeta

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

Checks run against github.com/eguidotti/calculus on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on macOS

Docs source (3)
pkgdown

GitHub Pages site last deployed 2025-06-17 · The repository has a site deploy workflow

pkgdown site last built 2025-06-17, before release 1.1.0 (2025-06-18)

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing calculus adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.

Depends (0)
none
Imports (1)
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
7direct
4indirect
Imports 7
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 0.1.0 (2019)
Releases (12)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.0Latest
    record
    2025-06-18 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.1
    record
    2023-03-10 · diff ↗
  • 1.0.0
    record
    2022-09-26 · diff ↗
  • 0.3.4
    record
    2022-08-21 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.3.3
    record
    2022-01-22 · diff ↗
  • 0.3.2
    record
    2021-12-18 · diff ↗
  • 0.3.1
    record
    2021-05-26 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.3.0
    record
    2021-01-07 · diff ↗ ·
    removed 8 exports
    %matrix%, diag<-, det, diag, inverse, kronecker, levicivita, trace
    added 13 exports
    %jacobian%, %mx%, diagonal<-, contraction, delta, diagonal, epsilon, jacobian, mx, mxdet, mxinv, mxtr, ode
  • R
    R 4.0.0 released · 2020-04-24
  • 0.2.1
    record
    2020-03-23 · diff ↗
Show 4 earlier eventsHide 4 earlier events

Package metadata

First published
2019-11-07
Total releases
12 / 7 yrs
License
GPL-3 OSI
Download size
161 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("calculus")

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

It points to 10.18637/jss.v104.i05.

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 calculus version 1.1.0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, 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