log_snakemake {schtools}R 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)

[Package schtools version 0.4.1 Index]