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 <>.

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


Reference manual: trampoline.pdf
Vignettes: Trampolining in R


Package source: trampoline_0.1.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
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, r-oldrel (x86_64): trampoline_0.1.1.tgz
Old sources: trampoline archive


Please use the canonical form to link to this page.