Skip to contents

Any reactive expressions inside tdata are evaluated first.

Usage

tdata2env(data)

Arguments

data

(tdata) object

Value

An environment.

Examples


data <- new_tdata(
  data = list(iris = iris, mtcars = reactive(mtcars)),
  code = "iris <- iris
    mtcars = mtcars"
)

my_env <- isolate(tdata2env(data))