@description
Roxygen2 TagR/modify_roxygen2.R
add_deprecated_to_desc.Rd
Add "(Deprecated)" after the @description
Roxygen2 Tag
add_deprecated_to_desc(text)
text | Character vector containing function declarations. |
---|
Other modify roxygen2 documentation functions:
add_deprecated_call()
library(tidyverse) # Adds "Deprecated" after each Roxygen2 Tag add_deprecated_to_desc(text = "#' This is the title\n#' @description\n#' This is the description.")#> [1] "#' This is the title\n#' @description (Deprecated)\n#' This is the description."