R/echoRule.R

knitr::opts_hooks$set(echoRule = function(options) {
    if (options$echo == FALSE) {
        options$Rrule = NULL
    } else {
        options$Rrule = TRUE
    }
    options
})
EccRiley/Riley documentation built on July 11, 2018, 2:06 a.m.