rhub (version 1.0.0.9000)

list_checks: List R-hub builds

Description

If both email and package are NULL, and the current directory is an R package, then the checks of this package are queried, using the maintainer's email address.

Usage

list_checks(email = NULL, package = NULL)

Arguments

email
email address, or NULL, see details below.
package
package name or NULL, see details below.

Details

If both email and package are NULL, and the current directory is not an R package, then email address is guessed using whoami::email_address() and all checks that belong to this address are queried.

If package is NULL, but email is not, then all builds of the specified email address are queried.

If email is NULL, but package is not, then package is interpreted as a path, and the R package at that path is used, with the maintainer's email address.

If neither email nor package are NULL, then checks for the specified email address and package are listed.

If you want to use this function programatically, make sure you set both email and package, to avoid context dependent behavior.