inst/extdata/om..hello.world/R/functions.R

#' @name hello_world
#' @title Say hello!
#' @description Run \code{echo "Hello World!"} in Ubuntu 18.04.
#' @return Logical
#' @example examples/hello_world.R
#' @export
#' @export
hello_world <- function() {
  otsdr <- outsider_init(pkgnm = 'om..hello.world',
                         cmd = 'cat', arglist = '../hello.txt')
  run(otsdr)
}

Try the outsider.base package in your browser

Any scripts or data that you put into this service are public.

outsider.base documentation built on April 19, 2021, 1:06 a.m.