contribs: Getting package contributors

Description Usage Arguments Value Author(s) Examples

Description

These functions extract information about package contributors.

Usage

1
2
3
4
5
6
7
8
9
contribs(pkg)

ncontribs(pkg)

pkgrole(pkg, role.)

pkgaut(pkg)

pkgcre(pkg)

Arguments

pkg

The name of the package.

role.

The role to be searched for. See '?person' for details.

Value

An instance of class 'person' or the 'character' with the author information and a warning ('contribs') or an error (other functions) when 'Authors@R' is not present in the package's 'DESCRIPTION'. For 'ncontribs' an 'integer'.

Author(s)

Laurent Gatto

Examples

1
2
3
4
5
6
7
8
9
contribs("MSnbase")
contribs("Biobase")
ncontribs("MSnbase")
pkgcre("MSnbase")
## same as
pkgrole("MSnbase", "cre")
pkgaut("MSnbase")
## same as
pkgrole("MSnbase", "aut")

lgatto/biocdownloads documentation built on May 14, 2019, 8:35 a.m.