From b0ba341e513e66bf3e551314e5f3e6f75f266e29 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Tue, 29 May 2018 15:33:38 +0200 Subject: [PATCH] fit CRAN rules (tests) --- pkg/tests/testthat/test-optimParams.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tests/testthat/test-optimParams.R b/pkg/tests/testthat/test-optimParams.R index 8d0e7b3..809056f 100644 --- a/pkg/tests/testthat/test-optimParams.R +++ b/pkg/tests/testthat/test-optimParams.R @@ -50,7 +50,7 @@ naive_f = function(link, M1,M2,M3, p,β,b) test_that("naive computation provides the same result as vectorized computations", { h <- 1e-7 #for finite-difference tests - tol <- .25 * sqrt(h) #about 7.9 e-5 + tol <- 5e-4 #.25 * sqrt(h) #about 7.9 e-5 for (dK in list( c(2,2), c(5,3))) { d = dK[1] -- 2.44.0