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?
hasCpu()
Does the current machine have a sufficient number of CPU cores?
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?
hasRam()
Does the current machine have a sufficient RAM?
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()
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?
isTximport()
Does the input contain a tximport list?
isUnix()
Is the operating system Unix-based?
isVanilla()
Is the R session running as vanilla?
isVectorish()
Is the input vector(ish)?
isVscode()
Is the current R session running inside Visual Studio Code?
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
isAwsS3Uri() isAnAwsS3Uri() allAreAwsS3Uris()
Does the input contain an AWS S3 URI?
isCompressedFile() isACompressedFile() allAreCompressedFiles()
Does the input contain a compressed file?
isDirectory() isADirectory() allAreDirectories() isDir() isADir() allAreDirs()
Does the input contain a directory?
isDuplicate()
Does the input contain a duplicate value?
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?
isExistingAwsS3Uri() isAnExistingAwsS3Uri() allAreExistingAwsS3Uris()
Does the input contain an existing (active) AWS S3 URI?
isExistingUrl() isAnExistingUrl() allAreExistingUrls()
Does the input contain an existing (active) URL?
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() allAreIntegerish() isInt()
Is the input integer(ish)?
isMatchingFixed() isMatchingRegex() isNotMatchingFixed() isNotMatchingRegex() allAreMatchingFixed() allAreMatchingRegex() allAreNotMatchingFixed() allAreNotMatchingRegex() allAreSystemCommands()
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?
isTempFile() isATempFile() allAreTempFiles()
Does the input contain a temporary file (that exists on disk)?
isUrl() isAUrl() allAreUrls()
Does the input contain a URL?

System scalar checks

System vectorized checks

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
nocause()
Return standard logical without cause attribute
quietly()
Perform an action quietly
requireNamespaces()
Require package namespaces
setCause()
Return FALSE vector with causes of failure
show()
Show an object