Learn R Programming

⚠️There's a newer version (2.3.2) of this package.Take me there.

checkmate (version 1.0)

checkmate

Description

Fast and versatile argument checks

Copy Link

Version

Install

install.packages('checkmate')

Monthly Downloads

308,110

Version

1.0

License

BSD_3_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Michel Lang

Last Published

June 17th, 2014

Functions in checkmate (1.0)

assert

Combine multiple checks to an assertion
checkNamed

Check if an argument is named
allMissing

Check if an object contains missing values
checkAccess

Check file system access rights
checkMatrix

Check if an argument is a matrix
checkCount

Check if an argument is a count
checkArray

Check if an argument is an array
checkScalar

Check if an argument is a single atomic value
qassert

Quick argument checks on (builtin) R types
checkFunction

Check if an argument is a function
checkNull

Check if an argument is NULL
checkInt

Check if an argument is a single integerish value
checkFile

Check existence and access rights of files
qassertr

Quick recursive arguments checks on lists and data frames
checkPathForOutput

Check file path for later output
checkNumber

Check if an argument is a single numeric
checkFlag

Check if an argument is a flag
checkVector

Check if an argument is a vector
checkChoice

Check if an object is an element of a given set
checkmate

The checkmate package
asInteger

Convert an argument to an integer
checkDataFrame

Check if an argument is a data frame
checkComplex

Check if an argument is a vector of type complex
checkClass

Check argument inheritance
checkAtomicVector

Check that an argument is an atomic vector
checkString

Check if an argument is a string
checkEnvironment

Check if an argument is an environment
checkSubset

Check if object is a subset of a given set
checkAtomic

Check that an argument is an atomic vector
checkLogical

Check if an argument is a vector of type logical
checkNumeric

Check that an argument is a vector of type numeric
checkList

Check if an argument is a list
checkCharacter

Check if an argument is a vector of type character
checkFactor

Check if an argument is a factor
checkIntegerish

Check if an object is an integerish vector
checkScalarNA

Check if an argument is a single missing value
checkDirectory

Check for existence and access rights of directories
checkInteger

Check if an argument is vector of type integer