log_snakemake: Save output, messages, warnings, and errors to the Snakemake log file
Description
This function checks whether a log file was specified in the Snakemake rule.
If so, it directs any output, messages, warnings, or errors to the
rule-specific log file.
See the Snakemake documentation on log files
and R scripts
for more details.
Usage
log_snakemake(quiet = TRUE)
Arguments
quiet
Silence messages about the status of the snakemake object and
log file (default: TRUE).