Skip to content

Commit

Permalink
seconds.limit=Inf
Browse files Browse the repository at this point in the history
  • Loading branch information
tdhock committed Nov 29, 2024
1 parent 045d7f2 commit 9d40f56
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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="[email protected]",
Expand Down
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/test-CRAN.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9d40f56

Please sign in to comment.