Skip to contents

Return all check results in a data frame

Usage

results(gp)

Arguments

gp

gp output.

Value

Data frame, with columns:

check

The name of the check.

passed

Logical, whether the check passed.

See also

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: description [10ms]
#> 
#>  Preparing: lintr
#>  Preparing: lintr [62ms]
#> 
results(g)
#>                                 check passed
#> 1              no_description_depends  FALSE
#> 2                 no_description_date  FALSE
#> 3                     description_url  FALSE
#> 4  description_not_start_with_package   TRUE
#> 5  description_urls_in_angle_brackets   TRUE
#> 6              description_doi_format   TRUE
#> 7           description_urls_not_http   TRUE
#> 8       no_description_duplicate_deps   TRUE
#> 9             description_valid_roles     NA
#> 10  description_pkgname_single_quoted   TRUE
#> 11             description_bugreports  FALSE
#> 12            lintr_assignment_linter   TRUE
#> 13           lintr_line_length_linter   TRUE
#> 14             lintr_semicolon_linter  FALSE