All Projects → mllg → Checkmate

mllg / Checkmate

Licence: other
Fast and versatile argument checks

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Checkmate

Arules
Mining Association Rules and Frequent Itemsets with R
Stars: ✭ 139 (-20.11%)
Mutual labels:  cran
Osrm
Shortest Paths and Travel Time from OpenStreetMap with R
Stars: ✭ 160 (-8.05%)
Mutual labels:  cran
Import
An Import Mechanism For R
Stars: ✭ 165 (-5.17%)
Mutual labels:  cran
Latex2exp
Use LaTeX in R. More LaTeX, less plotmath!
Stars: ✭ 148 (-14.94%)
Mutual labels:  cran
V8
Embedded JavaScript Engine for R
Stars: ✭ 155 (-10.92%)
Mutual labels:  cran
Should.js
BDD style assertions for node.js -- test framework agnostic
Stars: ✭ 1,908 (+996.55%)
Mutual labels:  assertions
Go Testdeep
Extremely flexible golang deep comparison, extends the go testing package, tests HTTP APIs and provides tests suite
Stars: ✭ 137 (-21.26%)
Mutual labels:  assertions
Arsenal
An Arsenal of 'R' Functions for Large-Scale Statistical Summaries
Stars: ✭ 171 (-1.72%)
Mutual labels:  cran
Explor
Interfaces for Multivariate Analysis in R
Stars: ✭ 157 (-9.77%)
Mutual labels:  cran
Expekt
BDD assertion library for Kotlin
Stars: ✭ 163 (-6.32%)
Mutual labels:  assertions
Matrixstats
R package: Methods that Apply to Rows and Columns of Matrices (and to Vectors)
Stars: ✭ 151 (-13.22%)
Mutual labels:  cran
Property Validator
✅ Easy property validation for JavaScript, Node and Express.
Stars: ✭ 153 (-12.07%)
Mutual labels:  assertions
Dbscan
Density Based Clustering of Applications with Noise (DBSCAN) and Related Algorithms - R package
Stars: ✭ 161 (-7.47%)
Mutual labels:  cran
Zunit
A powerful testing framework for ZSH projects
Stars: ✭ 140 (-19.54%)
Mutual labels:  assertions
Slopegraph
Edward Tufte-Inspired Slopegraphs
Stars: ✭ 166 (-4.6%)
Mutual labels:  cran
Postman Bdd
A BDD test framework for Postman and Newman
Stars: ✭ 139 (-20.11%)
Mutual labels:  assertions
Webservices
CRAN WebTechnologies Task View
Stars: ✭ 160 (-8.05%)
Mutual labels:  cran
Recommenderlab
recommenderlab - Lab for Developing and Testing Recommender Algorithms - R package
Stars: ✭ 174 (+0%)
Mutual labels:  cran
Simmer
Discrete-Event Simulation for R
Stars: ✭ 170 (-2.3%)
Mutual labels:  cran
Assertj Core
AssertJ is a library providing easy to use rich typed assertions
Stars: ✭ 2,085 (+1098.28%)
Mutual labels:  assertions

checkmate

CRAN_Status_Badge R build status Coverage Status Download Stats

Fast and versatile argument checks for R.

Ever used an R function that produced a not-very-helpful error message, just to discover after minutes of debugging that you simply passed a wrong argument?

Blaming the laziness of the package author for not doing such standard checks (in a dynamically typed language such as R) is at least partially unfair, as R makes theses types of checks cumbersome and annoying. Well, that's how it was in the past.

Enter checkmate.

Virtually every standard type of user error when passing arguments into function can be caught with a simple, readable line which produces an informative error message in case. A substantial part of the package was written in C to minimize any worries about execution time overhead. Furthermore, the package provides over 30 expectations to extend the popular testthat package for unit tests.

Installation

For the stable release, just install the latest version from CRAN:

install.packages("checkmate")

For the development version, use devtools:

devtools::install_github("mllg/checkmate")

Resources

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].