gt3x_datapath: Path to read.gt3x package sample data

View source: R/gt3x_sample_data.R

gt3x_datapathR Documentation

Path to read.gt3x package sample data

Description

Path to read.gt3x package sample data

Usage

gt3x_datapath(index = NULL, verbose = TRUE)

gt3x_filename(index = NULL, zipped = FALSE)

Arguments

index

Integer. The index of a sample file to retrieve. If NULL (default) the path to the directory including the sample files will be returned.

verbose

print diagnostic messages

zipped

do the files have a .zip extension

Value

Character vector of files

See Also

Other file manipulations: is_gt3x(), list_gt3x(), unzip.gt3x()

Examples

## Not run: 
dir <- gt3x_datapath()
gt3x_filename <- gt3x_datapath(1)
stopifnot(!is.na(gt3x_datapath(2)))

## End(Not run)

testthat::expect_error(gt3x_filename(100))
testthat::expect_error(gt3x_filename(0))

THLfi/read.gt3x documentation built on July 6, 2022, 11:06 a.m.