is_gt3x: Check if files are .gt3x files

Description Usage Arguments Details Value See Also Examples

View source: R/utils.R

Description

Check if files are .gt3x files

Check if a .gt3x file or unzipped gt3x directory has both log.bin adn info.txt

Usage

1
2
3
is_gt3x(path)

have_log_and_info(path, verbose = TRUE)

Arguments

path

Path(s) to file(s)

verbose

print diagnostic messages

Details

Checks if files have a .gt3x file extension

Value

Logical vector of the same length as path, which is TRUE if the corresponding path is a .gt3x file.

See Also

Other file manipulations: gt3x_datapath, list_gt3x, unzip.gt3x

Other gt3x-utils: get_n_samples, ticks2datetime

Examples

1
2
is_gt3x("test.gt3x") # TRUE
is_gt3x("test") # FALSE

THLfi/read.gt3x documentation built on Dec. 8, 2019, 9:46 a.m.