assertive.properties: Assertions to Check Properties of Variables
Version 0.0-4

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.

Browse man pages Browse package API and functions Browse package files

AuthorRichard Cotton [aut, cre]
Date of publication2016-12-30 10:12:24
MaintainerRichard Cotton <richierocks@gmail.com>
LicenseGPL (>= 3)
Version0.0-4
URL https://bitbucket.org/richierocks/assertive.properties
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("assertive.properties")

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

Functions

DIM Man page Source code
are_same_length Man page Source code
are_same_length_legacy Man page Source code
assert_all_are_same_length Man page
assert_all_are_same_length_legacy Man page Source code
assert_any_are_same_length Man page
assert_any_are_same_length_legacy Man page Source code
assert_are_same_length Man page Source code
assert_has_all_attributes Man page Source code
assert_has_any_attributes Man page Source code
assert_has_colnames Man page Source code
assert_has_cols Man page Source code
assert_has_dimnames Man page Source code
assert_has_dims Man page Source code
assert_has_duplicates Man page Source code
assert_has_elements Man page Source code
assert_has_names Man page Source code
assert_has_no_duplicates Man page Source code
assert_has_rownames Man page Source code
assert_has_rows Man page Source code
assert_has_slot Man page Source code
assert_have_same_dims Man page Source code
assert_is_atomic Man page Source code
assert_is_empty Man page Source code
assert_is_monotonic_decreasing Man page Source code
assert_is_monotonic_increasing Man page Source code
assert_is_nested Man page Source code
assert_is_non_empty Man page Source code
assert_is_non_nested Man page Source code
assert_is_non_scalar Man page Source code
assert_is_not_null Man page Source code
assert_is_null Man page Source code
assert_is_of_dimension Man page Source code
assert_is_of_length Man page Source code
assert_is_recursive Man page Source code
assert_is_scalar Man page Source code
assert_is_unsorted Man page Source code
assert_is_vector Man page Source code
check_n Source code
get_dim_string Source code
get_metric Source code
has_any_attributes Man page Source code
has_attributes Man page Source code
has_colnames Man page Source code
has_cols Man page Source code
has_dimnames Man page Source code
has_dims Man page Source code
has_duplicates Man page Source code
has_elements Man page Source code
has_names Man page Source code
has_no_attributes Man page Source code
has_no_duplicates Man page Source code
has_rownames Man page Source code
has_rows Man page Source code
has_slot Man page Source code
have_same_dims Man page Source code
is_atomic Man page Source code
is_empty Man page Source code
is_monotonic Man page
is_monotonic_decreasing Man page Source code
is_monotonic_increasing Man page Source code
is_nested Man page Source code
is_non_empty Man page Source code
is_non_nested Man page Source code
is_non_scalar Man page Source code
is_not_null Man page Source code
is_null Man page Source code
is_of_dimension Man page Source code
is_of_length Man page Source code
is_recursive Man page Source code
is_scalar Man page Source code
is_unsorted Man page Source code
is_vector Man page Source code
n_elements Man page Source code

Files

po
po/R-assertive.properties.pot
tests
tests/testthat.R
tests/testthat
tests/testthat/test-is-atomic-recursive-vector.R
tests/testthat/test-is-null.R
tests/testthat/test-has-names.R
tests/testthat/test-is-unsorted.R
tests/testthat/test-has-attributes.R
tests/testthat/test-has-dupes.R
tests/testthat/test-has-dims.R
tests/testthat/test-is-empty-scalar.R
tests/testthat/test-is-monotonic.R
NAMESPACE
NEWS
R
R/is-monotonic.R
R/assert-has-dims.R
R/utils.R
R/has-names.R
R/assert-has-dupes.R
R/assert-has-attributes.R
R/are-same-size.R
R/assert-are-same-size.R
R/assert-is-empty-scalar.R
R/assert-is-monotonic.R
R/has-slot.R
R/assert-is-atomic-recursive-vector.R
R/has-dupes.R
R/is-unsorted.R
R/has-dims.R
R/assert-has-names.R
R/assert-has-slot.R
R/is-empty-scalar.R
R/has-attributes.R
R/assert-is-unsorted.R
R/is-atomic-recursive-vector.R
R/imports.R
R/is-null.R
R/assert-is-null.R
README.md
MD5
DESCRIPTION
man
man/DIM.Rd
man/are_same_length.Rd
man/has_attributes.Rd
man/has_any_attributes.Rd
man/is_empty.Rd
man/is_atomic.Rd
man/n_elements.Rd
man/has_duplicates.Rd
man/has_slot.Rd
man/is_null.Rd
man/is_unsorted.Rd
man/is_monotonic_increasing.Rd
man/has_cols.Rd
man/has_names.Rd
man/has_dims.Rd
assertive.properties documentation built on May 19, 2017, 4:09 p.m.