Skip to content

Commit 313354b

Browse files
committed
remove CVXR from suggests
1 parent a814b67 commit 313354b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ Suggests:
4949
clusterSim,
5050
viridis,
5151
quadprog,
52-
matrixcalc,
53-
CVXR
52+
matrixcalc
5453
VignetteBuilder:
5554
knitr,
5655
rmarkdown,

tests/testthat/test-blockCoordinateDescent.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ test_that("test that V remains orthonormal after being updated", {
6363

6464

6565
test_that("test that the eigenvalues of the adjacency matrix meet the criterion", {
66+
skip_if_not_installed("CVXR")
6667
w <- runif(4*9)
6768
n <- as.integer(.5 * (1 + sqrt(1 + 8 * length(w))))
6869
z <- 3
@@ -76,6 +77,7 @@ test_that("test that the eigenvalues of the adjacency matrix meet the criterion"
7677

7778
with_parameters_test_that("test that the eigenvalues of the Laplacian matrix
7879
meet the criterion after being updated", {
80+
skip_if_not_installed("CVXR")
7981
n <- as.integer(.5 * (1 + sqrt(1 + 8 * length(w))))
8082
k <- 1
8183
Lw <- L(w)

0 commit comments

Comments
 (0)