Package: trampoline 0.1.1

Russell Dinnage

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

Authors:Russell Dinnage [aut, cre, cph]

trampoline_0.1.1.tar.gz
trampoline_0.1.1.zip(r-4.5)trampoline_0.1.1.zip(r-4.4)trampoline_0.1.1.zip(r-4.3)
trampoline_0.1.1.tgz(r-4.4-any)trampoline_0.1.1.tgz(r-4.3-any)
trampoline_0.1.1.tar.gz(r-4.5-noble)trampoline_0.1.1.tar.gz(r-4.4-noble)
trampoline_0.1.1.tgz(r-4.4-emscripten)trampoline_0.1.1.tgz(r-4.3-emscripten)
trampoline.pdf |trampoline.html
trampoline/json (API)
NEWS

# Install 'trampoline' in R:
install.packages('trampoline', repos = c('https://cranhaven.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rdinnager/trampoline/issues

On CRAN:

archivedpackagesr-universe

3.40 score 5 stars 8 scripts 138 downloads 5 exports 3 dependencies

Last updated 5 days agofrom:23314457c9 (on package/trampoline). Checks:ERROR: 1 OK: 6. Indexed: no.

TargetResultDate
Doc / VignettesFAILOct 25 2024
R-4.5-winOKOct 25 2024
R-4.5-linuxOKOct 25 2024
R-4.4-winOKOct 25 2024
R-4.4-macOKOct 25 2024
R-4.3-winOKOct 25 2024
R-4.3-macOKOct 25 2024

Exports:tramampolinetrambopolinetrampolinetrm_returntrm_tailcall

Dependencies:corofastmaprlang

Trampolining in R

Rendered fromtampolining.Rmdusingknitr::rmarkdownon Oct 25 2024.

Last update: 2024-10-25
Started: 2024-10-25

Readme and manuals

Help Manual

Help pageTopics
Make a trampoline.tramampoline trambopoline trampoline
Flag a return valuetrm_return
Flag a tail calltrm_tailcall