R/print_command.r

Defines functions print_command

Documented in print_command

#' @title print_command
#' @description unknown
#' @family abysmally documented
#' @author  unknown, \email{<unknown>@@dfo-mpo.gc.ca}
#' @export
  print_command <- function(x) {
      default.args <- attr(x, "default.args")
      if (!length(default.args)) default.args <- list()
      res <- do.call(x, default.args, envir = parent.frame())
      if(!is.null(res)) print(res)
  }
Beothuk/bio.utilities documentation built on May 5, 2019, 1:39 p.m.