inst/tinytest/runs/auto_dump.R

library(lumberjack)
logfile <- tempfile()
## file should create women_logger, locally.
data(women)
start_log(women, logger=simple$new(verbose=FALSE))
women[1,1] <- 2*women[1,1]
women$ratio <- women$height/women$weight
dump_log(women, "simple", file=logfile)

Try the lumberjack package in your browser

Any scripts or data that you put into this service are public.

lumberjack documentation built on March 31, 2023, 7:56 p.m.