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/goalie documentation built on Dec. 11, 2023, 11:36 p.m.