powered by
Sets up automatic logging of all join reports to a specified file. When enabled, every *_join_spy() call will append its report to the log.
*_join_spy()
set_log_file(file, format = c("text", "json"))
Invisibly returns the previous log file setting.
File path for automatic logging. Set to NULL to disable.
NULL
Log format: "text" (default) or "json".
log_report(), get_log_file()
log_report()
get_log_file()
# Enable automatic logging to temp file tmp <- tempfile(fileext = ".log") old <- set_log_file(tmp) # Disable logging and clean up set_log_file(NULL) unlink(tmp)
Run the code above in your browser using DataLab