R/flycheck.R

Defines functions flycheck

# Make sure there is a flydoc environment associated
# with the function.  If not then add one.
flycheck <- function(fun){
    if(is.null(attr(fun, "flydoc"))){
        attr(fun, "flydoc") <- new.env(parent = emptyenv())
    }
    
    fun
}
Dasonk/flydoc documentation built on May 6, 2019, 1:37 p.m.