unzip_single_gt3x: Unzip a single gt3x file

View source: R/gt3x_unzip.R

unzip_single_gt3xR Documentation

Unzip a single gt3x file

Description

A .gt3x file is a zipped archive with two files: log.bin and info.txt. This function unzips the contents of the archive to a single folder. This is a helper for unzip.gt3x()

Usage

unzip_single_gt3x(
  path,
  dirname = basename(gsub(".gt3x$| ", "", path)),
  location = tempdir(),
  files = c("info.txt", "log.bin"),
  remove_original = FALSE,
  check_structure = TRUE,
  verbose = TRUE
)

Arguments

path

Path to a .gt3x file

dirname

The name of the resulting directory where the content of path are extracted. Default is the name of the input file, sans the .gt3x extension.

location

A path to an output directory. Default is a tempdir.

files

The names of files to extract. Default is info.txt and log.bin

remove_original

Remove the zip file after unzipping?

check_structure

check to see if the structure is right for the file

verbose

print diagnostic messages


read.gt3x documentation built on June 30, 2022, 9:06 a.m.