R/io.R

io <- function(parent, type) {
    nodes <- getNodeSet(parent, type)
    formats <- sapply(nodes, xmlValue)
    # Strip leading/trailing white space
    gsub("^[[:space:]]+|[[:space:]]+$", "", formats)
}
bradleydrayton/pipeline documentation built on May 13, 2019, 2:27 a.m.