** R
** inst
** byte-compile and prepare package for lazy loading
Error in library(CVXR) : there is no package called 'CVXR'
Error: unable to load R code in package 'spectralGraphTopology'
Execution halted
ERROR: lazy loading failed for package 'spectralGraphTopology'
* removing '/builddir/build/BUILDROOT/R-CRAN-spectralGraphTopology-0.2.3-1.fc37.copr4853884.x86_64/usr/local/lib/R/library/spectralGraphTopology'
error: Bad exit status from /var/tmp/rpm-tmp.gMNrVw (%install)
Expected behavior
The package should work without CVXR, or CVXR should be promoted to Imports or Depends.
Problem description
Package is declared in Suggests, but it is used on package load. As a result, it doesn't work on systems without CVXR.
Example
See the build log:
Expected behavior
The package should work without CVXR, or CVXR should be promoted to Imports or Depends.
Environment: