R/variety_pack.R

Defines functions variety_pack

Documented in variety_pack

#' Get a variety pack of unique code names for yourself, your organization, other people, your projects, and whatever else
#'
#' @description \code{variety_pack()} is produces all types of code names available in \pkg{codename}.
#'
#' @return \code{variety_pack()} takes an optional reproducible seed and produces all kinds of code names available in
#' \pkg{codename}. In order, the return is "any", "gods", "nicka", "ubuntu", and "wu-tang".
#'
#' @author Steven V. Miller
#'
#' @param seed an optional reproducible seed, which can be specified as a character or number.
#'
#'
#' @examples
#'
#' variety_pack()
#' variety_pack(seed = 8675309)
#'

variety_pack <- function(seed) {

  all_types <- c("any", "gods", "nicka", "ubuntu", "wu-tang")

  for (i in all_types) {

    output <- codename(type = i, seed = seed)
    print(output)
  }

}

Try the codename package in your browser

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

codename documentation built on Feb. 16, 2023, 11 p.m.