Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
agricolamz committed Jul 14, 2024
1 parent 18a0465 commit b03cf52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion R/df_to_tier.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' no output.
#' @examples
#' time_start <- c(0.00000000, 0.01246583, 0.24781914, 0.39552363, 0.51157715)
#' time_end <- c(0.01246583, 0.24781914, 0.39552363, 0.51157715, 0.65267574)
#' time_end <- c(0.01246583, 0.24781914, 0.39552363, 0.51157715, 0.6526757369614512)
#' content <- c("", "T", "E", "S", "T")
#' df_to_tier(my_df <- data.frame(id = 1:5, time_start, time_end, content),
#' system.file("extdata", "test.TextGrid",
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-df-to-tier.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ test_that("df_to_tier", {
overwrite = FALSE
)

cat(tg, sep = "\n")

readLines(system.file("extdata", "test.TextGrid", package = "phonfieldwork"))

expect_error(
Expand Down

0 comments on commit b03cf52

Please sign in to comment.