By default, use all assess_* funtions in the riskmetric namespace and produce a tibble with one column per assessment applied.

pkg_assess(
  x,
  assessments = all_assessments(),
  ...,
  error_handler = assessment_error_empty
)

Arguments

x

A single pkg_ref object or tibble of package references to assess

assessments

A list of assessment functions to apply to each package reference. By default, a list of all exported assess_* functions from the riskmetric package.

...

additional arguments unused

error_handler

A function, which accepts a single parameter expecting the raised error, which will be called if any errors occur when attempting to apply an assessment function.

Value

A tibble with one row per package reference and a new column per assessment function, with cells of that column as package metric objects returned when the assessment was called with the associated pacakge reference.

Assessment function catalog

assess_remote_checks

Number of OS flavors that passed/warned/errored on R CMD check

assess_has_news

number of discovered NEWS files

assess_last_30_bugs_status

vector indicating whether BugReports status is closed

assess_export_help

exported objects have documentation

assess_downloads_1yr

number of downloads in the past year

assess_has_website

a vector of associated website urls

assess_has_source_control

a vector of associated source control urls

assess_license

software is released with an acceptable license

assess_news_current

NEWS file contains entry for current version number

assess_covr_coverage

Package unit test coverage

assess_r_cmd_check

Package check results

assess_has_maintainer

a vector of associated maintainers

assess_has_vignettes

number of discovered vignettes files

assess_has_bug_reports_url

presence of a bug reports url in repository

See also