powered by
.Rd
This is a convenient wrapper to tools::Rd2ex which actually returns a character vector of the examples in the .Rd file.
extract_examples_rd(rd_file_path)
The path to the .Rd file.
A character vector.
# NOT RUN { this_function_rd <- system.file("extdata", "str_detect.Rd", package = "exampletestr") extract_examples_rd(this_function_rd) # }
Run the code above in your browser using DataLab