Skip to content

Commit

Permalink
checking test
Browse files Browse the repository at this point in the history
  • Loading branch information
braunm committed Oct 7, 2021
1 parent 092b3d9 commit 402745e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test_binary.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
context("Tests using binary dataset")

test_that("Binary", {
skip_on_cran()
data(binary)
N <- length(binary$Y)
k <- NROW(binary$X)
Expand Down Expand Up @@ -43,7 +44,7 @@ test_that("Binary", {

norm_gr <- sqrt(sum(opt0$gradient ^ 2))

expect_equal(norm_gr, 0, tolerance=.0005)
expect_equal(norm_gr, 0, tolerance=.001)
expect_match(opt0$status, "Success")
expect_match(opt0$method, meth$method)

Expand Down

0 comments on commit 402745e

Please sign in to comment.