View source: R/modify_roxygen2.R
add_deprecated_to_desc | R Documentation |
@description
Roxygen2 TagAdd "(Deprecated)" after the @description
Roxygen2 Tag
add_deprecated_to_desc(text)
text |
Character vector containing function declarations. |
str_replace
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.")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.