tests/testthat/test.14.R

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

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

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

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

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.