R/utils.R

# Non-exported utils


# Minimal Pipe
# `%>%` = function(par, fun) {
#
#   s = substitute(fun)
#   fun.name <- ifelse( is.name(s), s, s[[1]] )
#   fun.args = as.list(s)
#   fun.args[[1]] = par
#   do.call(deparse(fun.name), fun.args)
# }
decisionpatterns/stringr.tools documentation built on Nov. 4, 2019, 10:24 a.m.