View source: R/contains_roxygen.R
contains_roxygen | R Documentation |
This function parses a text file or a character string and returns TRUE if it contains Roxygen2 documentation. It uses a regex pattern to identify possible Roxygen2 documentation lines.
contains_roxygen(input)
input |
A character string specifying the path to the text file, or a character string containing the text to be checked for Roxygen2 documentation. |
A logical value (TRUE or FALSE) indicating whether the input contains Roxygen2 documentation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.