We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4038fee commit 8a6ac08Copy full SHA for 8a6ac08
inst/unitTests/runit.sugar.R
@@ -1633,9 +1633,13 @@ if (.runThisTest) {
1633
"eye - complex"
1634
)
1635
1636
+ ## diag(TRUE, 3, 3) was registering as
1637
+ ## a numeric matrix on Travis for some reason
1638
+ mat <- matrix(FALSE, 3, 3)
1639
+ diag(mat) <- TRUE
1640
checkEquals(
1641
lgl_eye(3),
- diag(TRUE, 3, 3),
1642
+ mat,
1643
"eye - logical"
1644
1645
}
0 commit comments