R/scheme_active.R

Defines functions scheme_active

Documented in scheme_active

#' Functions to manage schemes
#'
#' \bold{\code{scheme_active()}:} Shows the name and version of the active scheme.
#' @return \code{data.frame} with two columns containing name and version of the default scheme
#'
#' @rdname scheme
#'
#' @export
#'
#' @examples
#' scheme_active()
#'
scheme_active <- function() {
  return(
    data.frame(
      name = attr(dmdScheme(), "dmdSchemeName"),
      version = attr(dmdScheme(), "dmdSchemeVersion"),
      stringsAsFactors = FALSE)
  )
}

Try the dmdScheme package in your browser

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

dmdScheme documentation built on Aug. 22, 2022, 9:06 a.m.