The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
checktor runs extra-CRAN diagnostic checks on R
packages, catching common submission issues that
R CMD check does not flag. It looks at code patterns,
DESCRIPTION fields, documentation, and policy concerns: the kinds of
things a reviewer would otherwise catch by hand. It reads your code,
.Rd files, and DESCRIPTION the way R does instead of
searching text, so it won’t trip over a pattern that only appears in a
string or a comment.
For the full list of checks, see the function reference.
# From CRAN (once published)
install.packages("checktor")
# Development version
# install.packages("pak")
pak::pak("coatless-rpkg/checktor")library(checktor)
# Run all diagnostics on the current package
results <- checktor()
# Quiet boolean for CI
if (!checkup()) stop("checktor found issues")
# Treatment recommendations for the issues found
prescribe(results)
# Generate a Markdown / HTML / text report
cat(health_report(results, format = "markdown"), sep = "\n")For end-to-end usage, see the Getting Started vignette. To author new checks against the parsed AST, see the Writing Your Own Checks vignette.
checktor complements but does not replace
R CMD check or lintr. Run those
alongside checktor before submitting to CRAN.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.