A class which contains all checklist results.
See also
Other class:
citation_meta,
org_item,
org_list,
organisation,
spelling
Super class
checklist::spelling -> checklist
Active bindings
get_checkedA vector with checked topics.
get_pathThe path to the package.
get_pakPackages to install with
pak::pkg_install().get_requiredA vector with the names of the required checks.
get_spellingReturn the issues found by
check_spelling()failA logical indicating if any required check fails.
templateA list for a check list template.
Methods
Method add_linter()
Add results from lintr::lint_package()
Method add_motivation()
Add motivation for allowed issues.
Usage
checklist$add_motivation(which = c("warnings", "notes"))Method add_rcmdcheck()
Add results from rcmdcheck::rcmdcheck
Method add_spelling()
Add results from check_spelling()
Method confirm_motivation()
Confirm the current motivation for allowed issues.
Usage
checklist$confirm_motivation(which = c("warnings", "notes"))Method new()
Initialize a new checklist object.
Usage
checklist$new(x = ".", language, package = TRUE)Method print()
Print the checklist object.
Add quiet = TRUE to suppress printing.
Method set_pak()
Set packages to install with pak::pkg_install().
Usage
checklist$set_pak(pkg = character(0))Arguments
pkgA vector of packages to install with
pak::pkg_install().