Package: trampoline 0.1.1.9000

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.9000.tar.gz
trampoline_0.1.1.9000.zip(r-4.7-any)trampoline_0.1.1.9000.zip(r-4.6-any)trampoline_0.1.1.9000.zip(r-4.5-any)
trampoline_0.1.1.9000.tgz(r-4.6-any)trampoline_0.1.1.9000.tgz(r-4.5-any)
trampoline_0.1.1.9000.tar.gz(r-4.7-any)trampoline_0.1.1.9000.tar.gz(r-4.6-any)
trampoline_0.1.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
trampoline/json (API)

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

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

Pkgdown/docs site:https://rdinnager.github.io

On CRAN:

Conda:

3.02 score 21 stars 10 scripts 56 downloads 5 exports 3 dependencies

Last updated from:b94fbd5757. Checks:8 ERROR, 1 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develERROR118
source / vignettesERROR193
linux-releaseERROR110
macos-releaseERROR86
macos-oldrelERROR102
windows-develERROR55
windows-releaseERROR59
windows-oldrelERROR74
wasm-releaseOK104

Exports:tramampolinetrambopolinetrampolinetrm_returntrm_tailcall

Dependencies:corofastmaprlang

Readme and manuals

Help Manual

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