Names of the failed checks

failed_checks(gp)

Arguments

gp

gp output.

Value

Names of the failed checks.

See also

Other API: checks(), results()

Examples

path <- system.file("bad1", package = "goodpractice")
# run a subset of all checks available
g <- gp(path, checks = all_checks()[3:16])
#> Preparing: description
#> Preparing: lintr
#> Preparing: namespace
failed_checks(g)
#> [1] "no_description_depends"          "no_description_date"            
#> [3] "description_url"                 "description_bugreports"         
#> [5] "lintr_trailing_semicolon_linter" "no_import_package_as_a_whole"