dev_external_compare: Verify 'read_gt3x' gives equivalent output using dev and...

View source: R/read_gt3x_dev_external_compare.R

dev_external_compareR Documentation

Verify read_gt3x gives equivalent output using dev and external parsers

Description

Verify read_gt3x gives equivalent output using dev and external parsers

Usage

dev_external_compare(file, time = FALSE, verbose = FALSE)

Arguments

file

path to the gt3x file for use in comparing the parsers

time

logical. Should timing information be returned?

verbose

logical. Print updates to console?

Value

If time = FALSE (default), a logical scalar is returned, indicating whether the outputs matched. If time = TRUE, run times are returned for both parsers.

Note

This is intended to be run after verifying that output from the dev parser matches the legacy parser (see legacy_dev_compare). The latter is very slow, so this setup allows only having to run it once.

Examples


file_3x <- system.file(
  "extdata", "example.gt3x", package = "AGread"
)
dev_external_compare(file_3x)


AGread documentation built on Sept. 13, 2022, 5:06 p.m.