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

Getting started

Package details

Maintainer
LicenseMIT + file LICENSE
Version0.1.1.9000
URL https://github.com/rdinnager/trampoline https://rdinnager.github.io/trampoline/
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("rdinnager/trampoline")
rdinnager/trampoline documentation built on Jan. 28, 2022, 11:49 p.m.