Skip to content

Commit

Permalink
No need to call box_cox() in test. [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
paulnorthrop committed Jun 12, 2017
1 parent 70744a3 commit 561923e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/testthat/test_ru.R
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,7 @@ testthat::expect_equal(x3aii$box, normal_box(d = 3, sigma = covmat, rotate = TRU
# Check that using a log transformation takes us back to the standard
# normal case
lambda <- 0
init <- box_cox(1, lambda = lambda)
x <- ru(logf = stats::dlnorm, log = TRUE, d = 1, n = 1, init = init, trans = "BC",
x <- ru(logf = stats::dlnorm, log = TRUE, d = 1, n = 1, init = 0.1, trans = "BC",
lambda = lambda)
testthat::expect_equal(x$box, normal_box(d = 1), tolerance = my_tol)

Expand Down

0 comments on commit 561923e

Please sign in to comment.