* using log directory 'd:/Rcompile/CRANpkg/local/4.7/jewel.Rcheck' * using R Under development (unstable) (2026-04-27 r89967 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-04-28 15:43:06 UTC * checking for file 'jewel/DESCRIPTION' ... OK * this is package 'jewel' version '2.0.2' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'jewel' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [6s] OK * checking Rd files ... [0s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [2s] 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 -> -> rewire_impl Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [4s] OK * checking PDF version of manual ... [19s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR