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 June 25, 2024, 1:14 a.m.