README.md

reactFunc

Travis-CI Build Status Join the chat at https://gitter.im/reactFunc/Lobby

Introduction

reactFunc is a tiny package that provide tools to build cacheable function using reactive expressions.

For detail, see https://marlin-na.github.io/reactFunc/articles/reactFunc.html .

Install

You can install it with:

devtools::install_github("marlin-na/reactFunc")

Usage

library(reactFunc)
reactfunc <- reactFunc(
    ARGV = alist(x = 6, y = ),
    a = x + 1,
    b = y - 3,
    ans = a() * b()
)
normalfunc <- asNormalFunc(reactfunc)
reactfunc(x = 6, y = 9)
normalfunc(x = 6, y = 9)


Marlin-Na/reactFunc documentation built on May 7, 2019, 3:36 p.m.