Last updated on 2026-04-24 13:18:20 CEST.
| Package | ERROR | OK |
|---|---|---|
| jewel | 7 | 5 |
Current CRAN status: ERROR: 7, OK: 5
Version: 2.0.2
Check: examples
Result: ERROR
Running examples in ‘jewel-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: constructWeights
> ### Title: Construct weights for _jewel_ minimization problem from prior
> ### information on vertices degrees.
> ### Aliases: constructWeights
>
> ### ** Examples
>
> {
+ K <- 3
+ p <- 50
+ n <- 20
+ data <- generateData_rewire(K = K, p = p, n = n, ncores = 1, verbose = FALSE)
+ G_list_true <- data$Graphs
+ true_degrees <- rowSums(G_list_true[[1]])
+ cut <- sort(true_degrees, decreasing = TRUE)[ceiling(p * 0.03)]
+ apriori_hubs <- ifelse(true_degrees >= cut, 10, 1)
+ W <- constructWeights(apriori_hubs, K = K)
+ }
Error in rewire_impl(rewire = graph, n = niter, mode = mode) :
The value 2.4500000000000002 is not representable as an integer. Invalid value
Source: rinterface_extra.c:83
Calls: generateData_rewire ... do_call -> eval -> eval -> <Anonymous> -> rewire_impl
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64
Version: 2.0.2
Check: examples
Result: ERROR
Running examples in ‘jewel-Ex.R’ failed
The error most likely occurred in:
> ### Name: constructWeights
> ### Title: Construct weights for _jewel_ minimization problem from prior
> ### information on vertices degrees.
> ### Aliases: constructWeights
>
> ### ** Examples
>
> {
+ K <- 3
+ p <- 50
+ n <- 20
+ data <- generateData_rewire(K = K, p = p, n = n, ncores = 1, verbose = FALSE)
+ G_list_true <- data$Graphs
+ true_degrees <- rowSums(G_list_true[[1]])
+ cut <- sort(true_degrees, decreasing = TRUE)[ceiling(p * 0.03)]
+ apriori_hubs <- ifelse(true_degrees >= cut, 10, 1)
+ W <- constructWeights(apriori_hubs, K = K)
+ }
Error in rewire_impl(rewire = graph, n = niter, mode = mode) :
The value 2.4500000000000002 is not representable as an integer. Invalid value
Source: rinterface_extra.c:83
Calls: generateData_rewire ... do_call -> eval -> eval -> <Anonymous> -> rewire_impl
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-windows-x86_64, r-oldrel-windows-x86_64