R/description.R

Defines functions documentation description

Documented in description documentation

description <- function(x)
  attr(x, "description")

"description<-" <- function(x, value){
  if(is.character(value) && nchar(value) == 0) value <- NULL
  attr(x, "description") <- value
  invisible(x)
}

documentation <- function(x)
  attr(x, "documentation")

"documentation<-" <- function(x, value){
  if(is.character(value) && nchar(value) == 0) value <- NULL
  attr(x, "documentation") <- value
  invisible(x)
}

Try the tis package in your browser

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

tis documentation built on Sept. 29, 2021, 1:06 a.m.