Simple, flexible, assertions on data.frame or data.table objects with verbose output for vetting. While other assertion packages apply towards more general use-cases, assertable is tailored towards tabular data. It includes functions to check variable names and values, whether the dataset contains all combinations of a given set of unique identifiers, and whether it is a certain length. In addition, assertable includes utility functions to check the existence of target files and to efficiently import multiple tabular data files into one data.table.
| Version: | 0.2.8 |
| Depends: | R (≥ 3.1.0) |
| Imports: | data.table, parallel |
| Suggests: | knitr, rmarkdown |
| Published: | 2021-01-27 |
| DOI: | 10.32614/CRAN.package.assertable |
| Author: | Grant Nguyen [aut, cre], Max Czapanskiy [ctb] |
| Maintainer: | Grant Nguyen <grant.nguyen at gmail.com> |
| License: | GPL-3 |
| NeedsCompilation: | no |
| Materials: | README |
| CRAN checks: | assertable results |
| Reference manual: | assertable.html , assertable.pdf |
| Vignettes: |
assertable template (source, R code) assertable data assertion intro (source, R code) assertable file assertion intro (source, R code) |
| Package source: | assertable_0.2.8.tar.gz |
| Windows binaries: | r-devel: assertable_0.2.8.zip, r-release: assertable_0.2.8.zip, r-oldrel: assertable_0.2.8.zip |
| macOS binaries: | r-release (arm64): assertable_0.2.8.tgz, r-oldrel (arm64): assertable_0.2.8.tgz, r-release (x86_64): assertable_0.2.8.tgz, r-oldrel (x86_64): assertable_0.2.8.tgz |
| Old sources: | assertable archive |
| Reverse imports: | ezmmek |
Please use the canonical form https://CRAN.R-project.org/package=assertable to link to this page.