is_gzip: Check if a file name is a gzip file

Description Usage Examples

View source: R/io.R

Description

Check if a file name is a gzip file

Usage

1
is_gzip(file_path)

Examples

1
2
3
is_gzip("foo.gz")
is_gzip("http://foo.bar/example.bed.gz")
is_gzip(c("foo.gz", "bar.gz"))

haizi-zh/bioessentials documentation built on April 10, 2021, 2:34 p.m.