tests/testthat/test.15.R

##
## File:   test_15.R
## Author: Michael J. North
## Date:   November 25, 2015
##

## Note the type of test.
context("PAJ files")

## Note the data path.
path <- system.file("extdata", paste("dir2", .Platform$file.sep,
  "Example.paj", sep = ""), package = "SchemaOnRead")

## Perform a test.
testthat::expect_that(length(SchemaOnRead::schemaOnRead(path)),
  testthat::equals(5))
drmichaelnorth/SchemaOnRead documentation built on May 15, 2019, 2:21 p.m.