assertive.sets v0.0-3
Monthly downloads
Assertions to Check Properties of Sets
A set of predicates and assertions for checking the properties of
sets. 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.
Readme
assertive.sets
A set of predicates and assertions for checking the properties of sets. Most of the documentation is on the assertive page. End-users will usually want to use assertive directly.
Installation
To install the stable version, type:
install.packages("assertive.sets")
To install the development version, you first need the devtools package.
install.packages("devtools")
Then you can install the assertive.sets package using
library(devtools)
install_bitbucket("richierocks/assertive.sets")
Predicates
is_set_equal
checks if two vectors contain the same elements (maybe in different orders).
is_subset
and is_superset
check if one set is contained in another.
Assertions
Predicates all return a single logical value and have one corresponding assertion. For example, is_subset
has assert_is_subset
.
Functions in assertive.sets
Name | Description | |
assert_are_disjoint_sets | Set comparisons | |
No Results! |
Last month downloads
Details
Type | Package |
Date | 2016-12-30 |
URL | https://bitbucket.org/richierocks/assertive.sets |
BugReports | https://bitbucket.org/richierocks/assertive.sets/issues |
License | GPL (>= 3) |
LazyLoad | yes |
LazyData | yes |
Acknowledgments | Development of this package was partially funded by
the Proteomics Core at Weill Cornell Medical College in Qatar
|
RoxygenNote | 5.0.1 |
NeedsCompilation | no |
Packaged | 2016-12-30 18:02:45 UTC; richierocks |
Repository | CRAN |
Date/Publication | 2016-12-30 19:35:49 |
imports | assertive.base (>= 0.0-7) |
depends | R (>= 3.0.0) |
suggests | testthat |
Contributors | Richard Cotton |
Include our badge in your README
[](http://www.rdocumentation.org/packages/assertive.sets)