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 Sept. 3, 2018, 2:34 a.m.