log_snakemake: Save output, messages, warnings, and errors to the Snakemake...

View source: R/snakemake.R

log_snakemakeR Documentation

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).

Author(s)

Kelly Sovacool sovacool@umich.edu

Examples

# The Snakemake object doesn't exist, so nothing happens
log_snakemake(quiet = FALSE)

SchlossLab/mothuR documentation built on Aug. 29, 2023, 1:32 a.m.