Names of the failed checks
Arguments
- gp
gp
output.
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"