vignettes/srcpkgs_lotr_demo/aragorn/R/main.R

#' provides aragorn
#' @return as a list
#' @export
aragorn <- function() {
  list(
    first = 'Aragorn',
    last = 'Strider',
    weapons = 'anduril',
    race = 'human'
  )
}

Try the srcpkgs package in your browser

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

srcpkgs documentation built on May 29, 2024, 6:43 a.m.