tests/testthat/test.16.R

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

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

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

## Perform a test.
testthat::expect_that(length(SchemaOnRead::schemaOnRead(path)),
  testthat::equals(4))

Try the SchemaOnRead package in your browser

Any scripts or data that you put into this service are public.

SchemaOnRead documentation built on May 2, 2019, 4 p.m.