vignettes/srcpkgs_lotr_demo/elrond/R/main.R

#' provides elrond
#' @return as a list
#' @export
elrond <- function() {
  list(
    first = 'Elrond',
    last = 'Peredhel',
    weapons = NA_character_,
    race = 'half-elf'
  )
}

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.