Skip to contents

Reproducible Modules

Functions to create a code chunk stack

chunk_call
Code chunk - including expression and variables
chunk_comment
Code Chunk comment
chunks
Multiple Code chunk handler
chunks_deep_clone()
Deep clones a chunks object
chunks_eval()
Evaluates all remaining chunks
chunks_get_eval_msg()
Get chunks evaluation message
chunks_get_rcode()
Returns the R-Code from a chunks object
chunks_get_var()
Get variable from chunk environment
chunks_is_ok()
Check chunks status (i.e. evaluated and no errors)
chunks_messages()
Gets messages from the chunks object
chunks_new()
Creates and returns a R6 chunks object to be used in a shiny/teal app
chunks_push()
Pushes a code chunk for global chunks
chunks_push_chunks()
Pushes a chunks stack to global chunks
chunks_push_comment()
Pushes a code comment chunk for global chunks
chunks_push_data_merge()
Pushes a merged_dataset to chunks
chunks_push_new_line()
Adds an empty line to the code chunks
chunks_reset()
Resets the current chunk list
chunks_safe_eval()
Evaluates all remaining chunks and validate if error
chunks_uneval()
Resets the evaluation of the chunks.
chunks_validate_all()
Raise shiny validate error if chunks status is not ok or variable is not of a certain class
chunks_validate_custom()
Executes validate statements on custom expressions that are evaluated inside a chunks object's environment
chunks_validate_is()
Raise shiny validate error if variable is not of a certain class
chunks_validate_is_ok()
Raise shiny validate error if chunks status is not ok
chunks_warnings()
Gets warnings from the chunks object
get_chunks_object()
Gets chunks object
init_chunks()
Allows using chunks in the global environment of a teal app
overwrite_chunks()
Overwrites chunks object in session

Debugging chunks evaluation

shiny modules to examine chunks evaluation results

get_eval_details_srv()
Server part of get_chunks_info
get_eval_details_ui()
The UI part of get chunks info module
show_eval_details_modal()
Shows Evaluation Details Modal