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)
A logical value (TRUE or FALSE) indicating whether the input contains Roxygen2 documentation.
A character string specifying the path to the text file, or a character string containing the text to be checked for Roxygen2 documentation.