Skip to content

Instantly share code, notes, and snippets.

@aammd
Created October 7, 2015 17:05
Show Gist options
  • Save aammd/84d794d37de9b6e4d13c to your computer and use it in GitHub Desktop.
Save aammd/84d794d37de9b6e4d13c to your computer and use it in GitHub Desktop.
logging output of assertr
library(loggr)
library(assertr)
library(magrittr)
log_file("thelog.log")
mtcars %>%
insist(within_n_mads(2), mpg:qsec) %>%
something
readLines("thelog.log")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment