Skip to contents

[Stable]

You can evaluate all remaining chunks of chunks being setup in the shiny session (see get_chunks_object()). The value of the last chunk being evaluated will be returned.

This method should not be evaluated multiple times, else it throws a warning. This is due to the fact that multiple evaluations of the following second code snippet is dangerous:

  • 1 a <- 2

  • 2 a <- a + 1

eval_chunks evaluates code just once and warn user if one tries to evaluate multiple times.

Usage

chunks_eval(chunks = get_chunks_object())

Arguments

chunks

optional, (chunks) object. If not provided then automatic chunks object detection is run via get_chunks_object