diff --git a/DESCRIPTION b/DESCRIPTION index d512225..5734bf0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: atime Type: Package Title: Asymptotic Timing -Version: 2024.12.3 +Version: 2024.12.4 Authors@R: c( person("Toby", "Hocking", email="toby.hocking@r-project.org", diff --git a/NEWS b/NEWS index c8a2d71..2e8096b 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +Changes in version 2024.12.4 + +- fixes #73, seconds.limit=Inf in test, for CRAN. + Changes in version 2024.12.3 - atime errors if user provides duplicate N values. diff --git a/tests/testthat/test-CRAN.R b/tests/testthat/test-CRAN.R index b77461a..7333446 100644 --- a/tests/testthat/test-CRAN.R +++ b/tests/testthat/test-CRAN.R @@ -376,11 +376,12 @@ if(requireNamespace("nc")){ if(requireNamespace("ggplot2"))test_that("references for non-NA unit, with NA unit",{ atime.list <- atime::atime( + N=2^seq(0,4), missing=data.frame(my_unit=NA), constant=data.frame(my_unit=1), linear=data.frame(my_unit=N), quadratic=data.frame(my_unit=N^2), - seconds.limit=0.001, + seconds.limit=Inf, result=TRUE) (atab <- table(atime.list$meas$expr.name)) ref.list <- atime::references_best(atime.list)