R/tag-title.r

#' @@title: Override default topic title.
#'
#' The topic title. By default this is taken from the first paragraph of the
#' roxygen block. See \code{\linkS4class{IntroTag}} for more details.
#'
#' @tagUsage @@title Topic title
setClass("TitleTag", contains = "Tag")
setMethod("writeRd", "TitleTag", function(object) {
  RdCommand("title", object@text)
})
hadley/roxygen3 documentation built on May 17, 2019, 12:16 p.m.