Scrape Roxygen blocks
scrape_roxygen.Rd
valtools uses roxygen across multiple file types to provide documentation. this function provides the tooling necessary to scrape from the major file types that we use ( R, R test code, markdown, Rmarkdown) and provides a consistent output type to capture the information necessary to help high level functions make assumptions.
Usage
scrape_roxygen(file, ..., type = tools::file_ext(file))