R/load_coda.pack.R

Defines functions coda_packages

Documented in coda_packages

#' List packages in the coda ecosystem
#'
#' Returns a data frame with the packages currently considered part of the
#' `coda` ecosystem and their installation source.
#'
#' @return A data frame with one row per package and two columns:
#' \describe{
#'   \item{package}{Package name.}
#'   \item{source}{Source from which the package can be installed, currently
#'   either `"CRAN"` or `"GitHub"`.}
#' }
#' The returned object is of class `data.frame`.
#'
#' @examples
#' coda_packages()
#'
#' @export
coda_packages <- function() {
  data.frame(
    package = c("coda.base", "coda.plot", "coda.count"),
    source = c("CRAN", "CRAN", "GitHub"),
    stringsAsFactors = FALSE
  )
}

Try the coda.pack package in your browser

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

coda.pack documentation built on April 19, 2026, 5:07 p.m.