Skip to content

Commit

Permalink
Fix testthat.
Browse files Browse the repository at this point in the history
  • Loading branch information
edwbaker committed Oct 24, 2018
1 parent 8d4fa79 commit c8e78ea
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ Imports:
Suggests:
tuneR,
alluvial,
covr
covr,
testthat
4 changes: 4 additions & 0 deletions tests/testthat.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
library(testthat)
library(tdsc)

test_check("tdsc")
3 changes: 2 additions & 1 deletion tests/testthat/test-emptyBands.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
context("emptyBands.R")
library(tuneR)
context("empty bands")


test_that("check known missing bands in example file with chesmore2011 coding matrix", {
wave <- readWave(system.file("extdata", "1.wav", package="tdsc"))
Expand Down

0 comments on commit c8e78ea

Please sign in to comment.