Skip to contents

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
hasClusters()
Does the input object contain clusters?
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?
hasGitHubPAT()
Does the current session have a GitHub personal access token?
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?
hasMultipleSamples()
Does the input object contain multiple samples?
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?
isBiocDevel()
Is the current Bioconductor installation under development?
isBiocParallelParam()
Does the input contain a BiocParallel parameter?
isCharacter()
Does the input contain a (non-empty) character vector?
isCleanSystemLibrary()
Is the R system library clean?
isCondaEnabled()
Is conda enabled (active) in the current R session?
isDark()
Is dark mode preferred?
isDevel()
Is the current session running inside R-devel?
isDocker() skip_on_docker()
Is the R session running inside Docker?
isDockerEnabled()
Is Docker enabled (running) on the current machine?
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?
isLinux()
Is the operating system Linux?
isMacOS()
Is the operating system macOS?
isOfDimension()
Does the input contain specific dimensions?
isOrganism()
Is the string input a full Latin organism name?
isRStudio()
Is the current R session running inside RStudio?
isNumber() isScalar() isScalarAtomic() isScalarCharacter() isScalarDouble() isScalarInteger() isScalarIntegerish() isScalarList() isScalarLogical() isScalarNumeric() isScalarVector() isNonScalar()
Is the input scalar?
isString()
Does the input contain a (non-empty) character string?
isUnix()
Is the operating system Unix-based?
isVSCode()
Is the current R session running inside Visual Studio Code?
isVanilla()
Is the R session running as vanilla?
isWindows()
Is the operating system Windows?
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?
isGitRepo() isAGitRepo() allAreGitRepos()
Does the input contain a Git repository?
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?
isInstalled() allAreInstalled()
Is the package installed?
isIntegerish() isInt()
Is the input integer(ish)?
allAreSystemCommands() isMatchingFixed() isMatchingRegex() isNotMatchingFixed() isNotMatchingRegex() allAreMatchingFixed() allAreMatchingRegex() allAreNotMatchingFixed() allAreNotMatchingRegex()
Does the string match a pattern?
isPackageVersion()
Is the package installed and a specific version?
isSymlink() isASymlink() allAreSymlinks()
Does the input contain a symbolic link?
isSystemCommand() isASystemCommand()
Is a system command installed?
isURL() isAURL() allAreURLs()
Does the input contain a URL?

Assert check engine

assert()
Assert that certain conditions are true
goalie-class
goalie logical assert check return
goalie()
Define a goalie check classed return
validate()
Validate an S4 class
validateClasses()
Validate expected classes

Other functions

bapply()
Boolean apply
cause()
Cause attribute
false()
Set a false goalie check with cause attribute
falseFromVector()
Set a scalar false goalie check with cause attribute
getNameInParent()
Get the name of a variable defined in the parent frame
nocause()
Return standard logical without cause attribute
setCause()
Return FALSE vector with causes of failure
show()
Show an object