dance_tbl: Get the log as a tibble

Description Usage Value Examples

View source: R/dance.R

Description

Get the log as a tibble

Usage

1

Value

Either a tibble::tibble() containing your logged history or NULL. if there is no log.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
## Not run: 

library(knitr)

# Start recording
dance_start(value = TRUE)

# Execute some expressions
"Hello!"
4 + 4

# Stop recording
dance_stop()

# Access log of your session
dance_tbl()

# Display the log nicely
kable(dance_tbl()[3:4, 1:5])

## |expr   |value  |path |contents |selection |
## |:------|:------|:----|:--------|:---------|
## |Hello! |Hello! |NA   |NA       |NA        |
## |4 + 4  |8      |NA   |NA       |NA        |


## End(Not run)

jhudsl/matahari documentation built on Feb. 21, 2020, 9:06 p.m.