Downloads Rd from an archived source package
Arguments
- sources_df
Data frame. A data frame as returned by `get_sources_for_selected_packages()`
- clean
Boolean, defaults to TRUE. If TRUE, only keeps man/ folder containing the documentaton. If FALSE, keeps entire package.
- test
Boolean, defaults to FALSE. TRUE is only useful for running unit tests.
Examples
if (FALSE) {
# First, get list of packages. In this case, the ones in the "Econometrics" view as of "2015-01-01"
ctv_econ <- get_packages_from_view("Econometrics", date = "2015-01-01")
# Now, get the names, versions, and urls for these packages
ctv_econ_sources <- get_sources_for_selected_packages(ctv_econ)
# It is now possible to download the man/ folders of these packages with the following lines
get_examples(ctv_econ_sources)
}