This is unlikely to be needed directly and is mostly and internal function

p_clear(.data)

Arguments

.data

a dataframe which may be grouped

Value

the .data dataframe with the history graph removed

Examples

library(dplyr)
library(dtrackr)
mtcars %>% track() %>% comment("A comment") %>% p_clear() %>% history()
#> dtrackr history:
#> number of flowchart steps: 0 (approx)
#> tags defined: <none>
#> items excluded so far: <not capturing exclusions>
#> last entry / entries:
#> └ <empty history>
#> TRACKING IS PAUSED (FALSE)