CVXR introduced a breaking change in the solve() function and now, migest fails to build with:
Error: object ‘solve’ is not exported by 'namespace:CVXR'
Based on the releases for the most recent CVXR version, you need to use psolve() to get the same behavior as solve() in the older packages. I attempted to make this change, but when I run devtools::check() one of the examples fails with another error (below). I don't see anything in the CVXR releases file that indicates the Variable() function has also changed, so I'm not sure where to go from here.
Error in `CVXR::Variable()`:
! Variable name "4" must be a string.
Backtrace:
▆
1. └─migest::net_matrix_entropy(net_tot = net, m = m)
2. └─CVXR::Variable(n, n)
3. └─cli::cli_abort("Variable name {.val {as.character(name)}} must be a string.")
4. └─rlang::abort(...)
Alternatively, you could require version 1.0-15 or less in DESCRIPTION.