Check if a text file or character string contains Roxygen2 documentation
contains_roxygen.Rd
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.