check-scalar-formalCompress: Check the 'compress' formal argument

check-scalar-formalCompressR Documentation

Check the compress formal argument

Description

Check the compress formal argument

Usage

formalCompress(compress)

Arguments

compress

logical(1) or character(1). These character strings are currently allowed for save(): "gzip", "bzip2", or "xz".

Value

TRUE on success; FALSE on failure, with cause set.

Note

Updated 2019-08-10.

Examples

## TRUE ====
formalCompress("gzip")
formalCompress(TRUE)

## FALSE ====
formalCompress(NA)
formalCompress("xxx")

acidgenomics/r-goalie documentation built on Jan. 12, 2024, 4:15 a.m.