From 7ee7fe8faf975ba9007530db70099d0cd8320a98 Mon Sep 17 00:00:00 2001 From: Earo Wang Date: Wed, 26 Jun 2024 18:48:49 +1000 Subject: [PATCH] skip a failed unit test on cran --- DESCRIPTION | 2 +- NEWS.md | 2 ++ tests/testthat/test-tsibble2ts.R | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 0ced9e34..43990ab0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: tsibble Title: Tidy Temporal Data Frames and Tools -Version: 1.1.4 +Version: 1.1.5 Authors@R: c(person(given = "Earo", family = "Wang", diff --git a/NEWS.md b/NEWS.md index afca65cd..41d0e990 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,5 @@ +# tsibble 1.1.5 + * Fix `difference()` giving extra NA values when the time series is shorter than the lag length. (#310, @mitchelloharawild) # tsibble 1.1.4 diff --git a/tests/testthat/test-tsibble2ts.R b/tests/testthat/test-tsibble2ts.R index 56cd52f6..e6501ef4 100644 --- a/tests/testthat/test-tsibble2ts.R +++ b/tests/testthat/test-tsibble2ts.R @@ -51,6 +51,7 @@ harvest <- tsibble( ) test_that("as.ts.tbl_ts()", { + skip_on_cran() expected <- ts(matrix(fill_gaps(harvest, .full = TRUE)$kilo, ncol = 2), start = 2010, frequency = 1) colnames(expected) <- c("cherry", "kiwi")