Skip to content

Commit

Permalink
Merge pull request #74 from tdhock/fix73
Browse files Browse the repository at this point in the history
seconds.limit=Inf + N small
  • Loading branch information
tdhock authored Dec 4, 2024
2 parents 5f722cb + dfc7396 commit 2ec053d
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 2ec053d

Please sign in to comment.