vignettes/srcpkgs_lotr_demo/gimli/R/main.R

#' provides gimli
#' @return as a list
#' @export
gimli <- function() {
  list(
    first = 'Gimli',
    last = 'Durin',
    weapons = 'axe',
    race = 'dwarf'
  )
}

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.