List all checks performed

checks(gp)

Arguments

gp

gp output.

Value

Character vector of check names.

See also

Other API: failed_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
checks(g)
#>  [1] "no_description_depends"          "no_description_date"            
#>  [3] "description_url"                 "description_bugreports"         
#>  [5] "lintr_assignment_linter"         "lintr_line_length_linter"       
#>  [7] "lintr_trailing_semicolon_linter" "lintr_attach_detach_linter"     
#>  [9] "lintr_setwd_linter"              "lintr_sapply_linter"            
#> [11] "lintr_library_require_linter"    "lintr_seq_linter"               
#> [13] "no_import_package_as_a_whole"    "no_export_pattern"