Engine

assert()

Assert that certain conditions are true

cause() `cause<-`() nocause()

Get or set the cause attribute

validate()

Validate an S4 class

validateClasses()

Validate expected classes

Scalar checks

allAreAtomic()

Does the input contain elements that are all atomic?

areSameLength()

Do the inputs have the same length?

formalCompress()

Check the compress formal argument

hasDimnames() hasColnames()

Does the input have dimnames?

hasDims() hasRows() hasCols()

Does the input have dimensions?

hasDuplicates() hasNoDuplicates()

Does the input have duplicates?

hasElements() nElements()

Does the input have elements?

hasInternet()

Does the current session have an internet connection?

hasLength()

Does the input have a non-zero or defined length?

hasMetrics()

Does the object contain quality control metrics?

hasNames()

Does the input have names?

hasNonzeroRowsAndCols()

Does the input contain non-zero rows and columns?

hasRownames()

Does the input have row names?

hasSubset()

Does the object contain a subset of data?

hasUniqueCols()

Does the input have columns with unique values?

hasValidNames() hasValidDimnames()

Does the input object have syntactically valid names?

isAll()

Does the input belong to or inherit all of these classes?

isAlpha()

Does the input contain an alpha level?

isAny()

Does the object belong to or inherit any of these classes?

isCharacter()

Does the input contain a (non-empty) character vector?

isDocker() skip_on_docker()

Is the R session running inside Docker?

isFileSystemCaseSensitive()

Is the file system case sensitive?

isFlag()

Does the input contain a boolean flag?

isGGScale()

Does the input contain a ggplot2 scale?

isHeaderLevel()

Does the input contain a Markdown header level?

isHexColorFunction()

Does the argument contain a function that returns hexadecimal colors?

isOfDimension()

Does the input contain specific dimensions?

isNumber() isScalar() isScalarList() isScalarAtomic() isScalarVector() isScalarNumeric() isScalarInteger() isScalarIntegerish() isScalarDouble() isScalarCharacter() isScalarLogical() isNonScalar()

Is the input scalar?

isString()

Does the input contain a (non-empty) character string?

matchesUniqueGeneNames()

Do the input gene names match unique values in the corresponding object?

isSubset() isSuperset() areDisjointSets() areIntersectingSets() areSetEqual()

Set comparisons

validNames()

Are these valid names?

Vectorized checks

hasAccess() allHaveAccess()

Check file system access rights

isCompressedFile() isACompressedFile() allAreCompressedFiles()

Does the input contain a compressed file?

isDirectory() isADirectory() allAreDirectories() isDir() isADir() allAreDirs()

Does the input contain a directory?

isEqualTo() isNotEqualTo() isGreaterThan() isGreaterThanOrEqualTo() isLessThan() isLessThanOrEqualTo() allAreEqualTo() allAreNotEqualTo() allAreGreaterThan() allAreGreaterThanOrEqualTo() allAreLessThan() allAreLessThanOrEqualTo()

How does the input relate to a value?

isExisting() isNonExisting() allAreExisting() allAreNonExisting()

Does the requested input exist in the environment?

isFile() isAFile() allAreFiles()

Does the input contain a file?

isHexColor() allAreHexColors()

Does the input contain hexadecimal colors?

isInRange() isInClosedRange() isInOpenRange() isInLeftOpenRange() isInRightOpenRange() isNegative() isPositive() isNonNegative() isNonPositive() isPercentage() isProportion() allAreInRange() allAreInClosedRange() allAreInOpenRange() allAreInLeftOpenRange() allAreInRightOpenRange() allAreNegative() allArePositive() allAreNonNegative() allAreNonPositive() allArePercentage() allAreProportion()

Is the input in range?

isIntegerish() isInt()

Is the input integer(ish)?

isMatchingFixed() isMatchingRegex() isNotMatchingFixed() isNotMatchingRegex() allAreMatchingFixed() allAreMatchingRegex() allAreNotMatchingFixed() allAreNotMatchingRegex()

Does the string match a pattern?

isURL() isAURL() allAreURLs()

Does the input contain a URL?

S3 methods

print(<goalie>)

Print methods for objects with a cause attribute