Skip to contents

Function to convert a tdata object to an environment Any reactives inside tdata are first evaluated

Usage

tdata2env(data)

Arguments

data

a 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))