trampoline: Make Functions that Can Recurse Infinitely

Implements a trampoline algorithm for R that let's users write recursive functions that get around R's stack call limitations, enabling theoretically infinite recursion. The algorithm is based around generator function as implemented in the 'coro' package, and is based almost completely on the 'trampoline' module from Python <https://gitlab.com/ferreum/trampoline>.

Version: 0.1.1
Imports: coro, fastmap, rlang (≥ 0.1.2)
Suggests: rmarkdown, knitr, bench, testthat (≥ 3.0.0), roxygen2
Published: 2022-01-04
Author: Russell Dinnage ORCID iD [aut, cre, cph]
Maintainer: Russell Dinnage <r.dinnage at gmail.com>
License: MIT + file LICENSE
URL: https://github.com/rdinnager/trampoline, https://rdinnager.github.io/trampoline/
NeedsCompilation: no
Materials: README NEWS
CRAN checks: trampoline results

Documentation:

Reference manual: trampoline.pdf
Vignettes: Trampolining in R

Downloads:

Package source: trampoline_0.1.1.tar.gz
Windows binaries: r-devel: trampoline_0.1.1.zip, r-release: trampoline_0.1.1.zip, r-oldrel: trampoline_0.1.1.zip
macOS binaries: r-release (arm64): trampoline_0.1.1.tgz, r-oldrel (arm64): trampoline_0.1.1.tgz, r-release (x86_64): trampoline_0.1.1.tgz
Old sources: trampoline archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=trampoline to link to this page.