Created
October 7, 2015 17:05
-
-
Save aammd/84d794d37de9b6e4d13c to your computer and use it in GitHub Desktop.
logging output of assertr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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