inst/examples/pkg1/R/hello.R

#' Hello world function
#'
#' @export hello_world
#'
#' @return No return value, called for side effects.
#'
#' @examples
#' hello_world()
hello_world <- function() {
  print("Hello, world!")
}

Try the pkglite package in your browser

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

pkglite documentation built on Aug. 29, 2022, 1:05 a.m.