From 9d40f56f55c4da9b04658051f6876fcaeee68300 Mon Sep 17 00:00:00 2001 From: Toby Dylan Hocking Date: Fri, 29 Nov 2024 07:47:59 -0500 Subject: [PATCH] seconds.limit=Inf --- DESCRIPTION | 2 +- NEWS | 4 ++++ tests/testthat/test-CRAN.R | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 6b0ed68..6b65f9e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: atime Type: Package Title: Asymptotic Timing -Version: 2024.11.19 +Version: 2024.11.29 Authors@R: c( person("Toby", "Hocking", email="toby.hocking@r-project.org", diff --git a/NEWS b/NEWS index fb957ed..62207f7 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +Changes in version 2024.11.29 + +- use seconds.limit=Inf in test, for CRAN. + Changes in version 2024.11.19 - comment predict(kilobytes) in sparse vignette, for CRAN. diff --git a/tests/testthat/test-CRAN.R b/tests/testthat/test-CRAN.R index c2402ba..0dd6750 100644 --- a/tests/testthat/test-CRAN.R +++ b/tests/testthat/test-CRAN.R @@ -494,7 +494,8 @@ if(require(Matrix))test_that("result=fun works", { vector=numeric(N), matrix=matrix(0, N, N), Matrix=Matrix(0, N, N), - result=function(x)data.frame(length=length(x))) + result=function(x)data.frame(length=length(x)), + seconds.limit=Inf) expect_is(vec.mat.result$measurements$length, "integer") vec.mat.refs <- atime::references_best(vec.mat.result) vec.mat.pred <- predict(vec.mat.refs, length=pred.len)