Skip to content

dual

0.0.6

Automatic Differentiation with Dual Numbers

0packages depend
6.9Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Luca SartoreFirst published 2019-12-184 releasesCRAN page ↗

Automatic differentiation is achieved by using dual numbers without providing hand-coded gradient functions. The output value of a mathematical function is returned with the values of its exact first derivative (or gradient). For more details see Baydin, Pearlmutter, Radul, and Siskind (2018) https://jmlr.org/papers/volume18/17-468/17-468.pdf.

Install

Health

CRAN checks
13OK
Slowest check: 57 s · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
3
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
  • WARNING2026-06-08
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 160 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
10%

Downloads

6.9K
CRAN downloads in the past year
Rank #7,711 · ~19/day · ~579/mo
Daily download trend is not available in this view yet.
20830 days
1.1K90 days
6.9K1 year
Compare downloads with other packages →
Also on465 r2u24 autocran48 c2d4u

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (4)
R >= 3.2.0basestatsmethods
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Maintainer (1)
Maintainer
Authors (1)
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 0.0.6Latest
    2025-05-28 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.0.5
    2023-10-03 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.0.4
    2022-08-31 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.0.3
    2019-12-18
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-12-18
Total releases
4 / 7 yrs
License
GPL-3 OSI
Minimum R
≥ 3.2.0
Download size
32 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("dual")
Sartore, L., & Sartore, L. (2025). dual: Automatic Differentiation with Dual Numbers (Version 0.0.6) [Computer software]. https://doi.org/10.32614/CRAN.package.dual

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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

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