R/isPlot.R

PlotFunctionNames = c("plot", "hist", "points", "lines", "legend", "jitter", "segments")

setGeneric("makesPlot", function(x, ...)
                           standardGeneric("makesPlot"))

setMethod("makesPlot", "ScriptNodeInfo",
            function(x, ...)
                any(PlotFunctionNames %in% x@functions))
duncantl/CodeDepends documentation built on Oct. 22, 2023, 9:16 p.m.