The pkgcond 0.1.1 R package provides utilities for creating classed error and warning conditions based on where errors originated, enhancing…
The pkgcond package version 0.1.1 provides utilities for creating classed error and warning conditions based on where the error originated. It requires R version 3.5.0 or later and imports assertthat and methods.
The reference covers scoped assertions, condition handling, string formatting and translation, infix concatenation operators, the not-in operator, scope exclusion, and selective suppression of warnings and messages.
| Version | 0.1.1 |
|---|---|
| Depends | R(>= 3.5.0) |
| Imports | assertthat, methods |
| Suggests | covr, testthat |
It provides utilities for creating classed error and warning conditions based on where the error originated.
The package depends on R version 3.5.0 or later.
It overrides the function to throw scoped and typed errors while providing the same utility.
It tags a function so that it is excluded from consideration when determining scope via find_scope().