Learn R Programming

goodpractice (version 1.2.0)

failed_checks: Names of the failed checks

Description

Names of the failed checks

Usage

failed_checks(gp)

Value

Names of the failed checks.

Arguments

gp

gp output.

See Also

Other API: checks(), customization, failed_positions()

Examples

Run this code
path <- system.file("bad1", package = "goodpractice")
# run a subset of all checks available
g <- gp(path, checks = all_checks()[9:16])
failed_checks(g)
# Or run with named check groups
g <- gp(path, checks = checks_by_group("description", "namespace"))
failed_checks(g)

Run the code above in your browser using DataLab