Skip to content

Commit

Permalink
seconds.limit=Inf + N small
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby Dylan Hocking committed Dec 4, 2024
1 parent 5f722cb commit dfc7396
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.12.3
Version: 2024.12.4
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.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.
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 @@ -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)
Expand Down

0 comments on commit dfc7396

Please sign in to comment.