Fetch internal data about a task (expert use only)
Arguments
- task_id
A single task identifier
- controller
The controller to use. If not given (or
NULL
) we'll use the controller registered withrrq_default_controller_set()
.
Examples
obj <- rrq_controller("rrq:example")
t <- rrq_task_create_expr(runif(1), controller = obj)
rrq_task_data(t, controller = obj)
#> $type
#> [1] "expr"
#>
#> $expr
#> runif(1)
#>
#> $variables
#> NULL
#>
x <- 10
y <- 20
t <- rrq_task_create_expr(x + y, controller = obj)
rrq_task_data(t, controller = obj)
#> $type
#> [1] "expr"
#>
#> $expr
#> x + y
#>
#> $variables
#> $variables$x
#> [1] 10
#>
#> $variables$y
#> [1] 20
#>
#>