Bug 16308 - Improve examples for utils::available.packages by including other parameter usage
Summary: Improve examples for utils::available.packages by including other parameter u...
Status: NEW
Alias: None
Product: R
Classification: Unclassified
Component: Documentation (show other bugs)
Version: R 3.1.2
Hardware: All All
: P5 enhancement
Assignee: R-core
URL:
Depends on:
Blocks:
 
Reported: 2015-04-12 05:21 UTC by Oliver Keyes
Modified: 2015-04-12 05:21 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Keyes 2015-04-12 05:21:33 UTC
available.packages(), in the bundled utils package, contains a variety of fields to filter, prioritise or expand the data returned. The examples in the documentation only illustrate different ways of using the available_packages_filters option, and doesn't actually include an example of available.packages() in use.

The documentation should:

1. Include examples of available.packages() being actually called;
2. Include examples of calls using parameters other than filter alteration.

(This is one of those issues where I could probably fix it myself, if someone can point me to an example of how one goes about most usefully contributing patches from outside the R-core team)