assertive.properties: Assertions to Check Properties of Variables

A set of predicates and assertions for checking the properties of variables, such as length, names and attributes. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

Author
Richard Cotton [aut, cre]
Date of publication
2016-05-09 17:52:46
Maintainer
Richard Cotton <richierocks@gmail.com>
License
GPL (>= 3)
Version
0.0-3
URLs

View on CRAN

Man pages

are_same_length
Are the inputs the same length/dimension?
DIM
Get the dimensions of an object
has_any_attributes
Does the input have any attributes?
has_attributes
Does the input have the specified attributes?
has_cols
Does the input have rows/columns?
has_dims
Does the input have dimensions?
has_duplicates
Does the input have duplicates?
has_names
Does the input have names?
has_slot
Does the S4 input have a slot?
is_atomic
Is the input atomic/recursive/vector?
is_empty
Is the input empty/scalar?
is_monotonic_increasing
Is the vector monotonically increasing or decreasing?
is_null
Is the input (not) null?
is_unsorted
Is the input unsorted?
n_elements
Get the number of elements

Files in this package

assertive.properties
assertive.properties/po
assertive.properties/po/R-assertive.properties.pot
assertive.properties/inst
assertive.properties/inst/po
assertive.properties/inst/po/de
assertive.properties/inst/po/de/LC_MESSAGES
assertive.properties/inst/po/de/LC_MESSAGES/R-assertive.properties.mo
assertive.properties/inst/po/ru
assertive.properties/inst/po/ru/LC_MESSAGES
assertive.properties/inst/po/ru/LC_MESSAGES/R-assertive.properties.mo
assertive.properties/inst/po/es
assertive.properties/inst/po/es/LC_MESSAGES
assertive.properties/inst/po/es/LC_MESSAGES/R-assertive.properties.mo
assertive.properties/tests
assertive.properties/tests/testthat.R
assertive.properties/tests/testthat
assertive.properties/tests/testthat/test-is-atomic-recursive-vector.R
assertive.properties/tests/testthat/test-is-null.R
assertive.properties/tests/testthat/test-has-names.R
assertive.properties/tests/testthat/test-is-unsorted.R
assertive.properties/tests/testthat/test-has-attributes.R
assertive.properties/tests/testthat/test-has-dupes.R
assertive.properties/tests/testthat/test-has-dims.R
assertive.properties/tests/testthat/test-is-empty-scalar.R
assertive.properties/NAMESPACE
assertive.properties/NEWS
assertive.properties/R
assertive.properties/R/is-monotonic.R
assertive.properties/R/assert-has-dims.R
assertive.properties/R/utils.R
assertive.properties/R/has-names.R
assertive.properties/R/assert-has-dupes.R
assertive.properties/R/assert-has-attributes.R
assertive.properties/R/are-same-size.R
assertive.properties/R/assert-are-same-size.R
assertive.properties/R/assert-is-empty-scalar.R
assertive.properties/R/assert-is-monotonic.R
assertive.properties/R/has-slot.R
assertive.properties/R/assert-is-atomic-recursive-vector.R
assertive.properties/R/has-dupes.R
assertive.properties/R/is-unsorted.R
assertive.properties/R/has-dims.R
assertive.properties/R/assert-has-names.R
assertive.properties/R/assert-has-slot.R
assertive.properties/R/is-empty-scalar.R
assertive.properties/R/has-attributes.R
assertive.properties/R/assert-is-unsorted.R
assertive.properties/R/is-atomic-recursive-vector.R
assertive.properties/R/imports.R
assertive.properties/R/is-null.R
assertive.properties/R/assert-is-null.R
assertive.properties/README.md
assertive.properties/MD5
assertive.properties/DESCRIPTION
assertive.properties/man
assertive.properties/man/DIM.Rd
assertive.properties/man/are_same_length.Rd
assertive.properties/man/has_attributes.Rd
assertive.properties/man/has_any_attributes.Rd
assertive.properties/man/is_empty.Rd
assertive.properties/man/is_atomic.Rd
assertive.properties/man/n_elements.Rd
assertive.properties/man/has_duplicates.Rd
assertive.properties/man/has_slot.Rd
assertive.properties/man/is_null.Rd
assertive.properties/man/is_unsorted.Rd
assertive.properties/man/is_monotonic_increasing.Rd
assertive.properties/man/has_cols.Rd
assertive.properties/man/has_names.Rd
assertive.properties/man/has_dims.Rd