- using R Under development (unstable) (2026-11-09 r90865)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.2.0-4) 16.2.0
GNU Fortran (Debian 16.2.0-4) 16.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-11-10 18:48:45 UTC
- checking for file ‘sbm/DESCRIPTION’ ... OK
- this is package ‘sbm’ version ‘0.4.7’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/3s] OK
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘sbm’ can be installed ... OK
See the install log for details.
- used C++ compiler: ‘g++-16 (Debian 16.2.0-4) 16.2.0’
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [3s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the package can be unloaded cleanly ... [2s/3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s/3s] OK
- checking whether the namespace can be unloaded cleanly ... [3s/3s] OK
- checking loading without being on the library search path ... [3s/4s] 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 ... [17s/23s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [29s/30s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
estimateBipartiteSBM 5.442 4.649 9.853
estimateSimpleSBM 4.599 3.520 7.450
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [179s/171s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [178s/170s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(sbm)
> library(aricode)
>
> test_check("sbm")
Saving _problems/test-BipartiteSBM_fit_covariates-84.R
Saving _problems/test-BipartiteSBM_fit_covariates-84.R
Saving _problems/test-BipartiteSBM_fit_covariates-84.R
Saving _problems/test-BipartiteSBM_fit_covariates-84.R
Saving _problems/test-BipartiteSBM_fit_covariates-84.R
Saving _problems/test-BipartiteSBM_fit_covariates-84.R
[1] "------------Nb of entities in each functional group--------------"
Actor
90
[1] "------------Probability distributions on each network--------------"
[1] "bernoulli" "bernoulli" "poisson"
[1] "-------------------------------------------------------------------"
[1] " ------ Searching the numbers of blocks starting from [ 1 ] blocks"
[1] "ICL : -18262.1 . Nb of blocks: [ 1 ]"
[1] "ICL : -14768.26 . Nb of blocks: [ 2 ]"
[1] "ICL : -13962.1 . Nb of blocks: [ 3 ]"
[1] " ------ Searching the numbers of blocks starting from [ 3 ] blocks"
[1] "ICL : -13962.1 . Nb of blocks: [ 3 ]"
[1] "Best model------ ICL : -13962.1 . Nb of clusters: [ 3 ] for [ Actor ] respectively"
-> Estimation for 1 groups
-> Pass 1
-> With ascending number of groups
-> For 2 groups
-> For 3 groups
-> For 4 groups
-> For 5 groups
-> With descending number of groups
-> For 4 groups
-> For 3 groups
-> For 2 groups
-> Pass 2
-> With ascending number of groups
-> For 2 groups
-> For 3 groups
-> For 4 groups
-> For 5 groups
-> With descending number of groups
-> For 4 groups
-> For 3 groups
-> For 2 groups
-> Pass 3
-> With ascending number of groups
-> For 2 groups
-> For 3 groups
-> For 4 groups
-> For 5 groups
-> With descending number of groups
-> For 4 groups
-> For 3 groups
-> For 2 groups
[1] "------------Nb of entities in each functional group--------------"
Actor Object
60 60
[1] "------------Probability distributions on each network--------------"
[1] "bernoulli" "bernoulli"
[1] "-------------------------------------------------------------------"
[1] " ------ Searching the numbers of blocks starting from [ 1 1 ] blocks"
[1] "ICL : -4904.99 . Nb of blocks: [ 1 1 ]"
[1] "ICL : -3839.6 . Nb of blocks: [ 1 2 ]"
[1] "Best model------ ICL : -3839.6 . Nb of clusters: [ 1 2 ] for [ Actor , Object ] respectively"
Saving _problems/test-SimpleSBM_fit_covariates-96.R
Saving _problems/test-SimpleSBM_fit_covariates-96.R
Saving _problems/test-SimpleSBM_fit_covariates-96.R
Saving _problems/test-SimpleSBM_fit_covariates-175.R
Saving _problems/test-SimpleSBM_fit_covariates-175.R
Saving _problems/test-SimpleSBM_fit_covariates-175.R
[1] "use of sampleMultipartite"
[1] "use of sampleMultipartite"
[ FAIL 12 | WARN 0 | SKIP 0 | PASS 1039 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-BipartiteSBM_fit_covariates.R:84:7'): BipartiteSBM_fit 'Bernoulli' model, undirected, no covariate ──
Expected `rmse(pred_bm, pred_sbm)` < 1e-12.
Actual comparison: 0.001179844422 >= 0.000000000001
Difference: 0.001179844421 >= 0
── Failure ('test-BipartiteSBM_fit_covariates.R:84:7'): BipartiteSBM_fit 'Bernoulli' model, undirected, no covariate ──
Expected `rmse(pred_bm, pred_sbm)` < 1e-12.
Actual comparison: 0.010902095989 >= 0.000000000001
Difference: 0.010902095988 >= 0
── Failure ('test-BipartiteSBM_fit_covariates.R:84:7'): BipartiteSBM_fit 'Bernoulli' model, undirected, no covariate ──
Expected `rmse(pred_bm, pred_sbm)` < 1e-12.
Actual comparison: 0.016070367387 >= 0.000000000001
Difference: 0.016070367386 >= 0
── Failure ('test-BipartiteSBM_fit_covariates.R:84:7'): BipartiteSBM_fit 'Bernoulli' model, undirected, no covariate ──
Expected `rmse(pred_bm, pred_sbm)` < 1e-12.
Actual comparison: 0.016224264186 >= 0.000000000001
Difference: 0.016224264185 >= 0
── Failure ('test-BipartiteSBM_fit_covariates.R:84:7'): BipartiteSBM_fit 'Bernoulli' model, undirected, no covariate ──
Expected `rmse(pred_bm, pred_sbm)` < 1e-12.
Actual comparison: 0.016169709058 >= 0.000000000001
Difference: 0.016169709057 >= 0
── Failure ('test-BipartiteSBM_fit_covariates.R:84:7'): BipartiteSBM_fit 'Bernoulli' model, undirected, no covariate ──
Expected `rmse(pred_bm, pred_sbm)` < 1e-12.
Actual comparison: 0.016127658646 >= 0.000000000001
Difference: 0.016127658645 >= 0
── Failure ('test-SimpleSBM_fit_covariates.R:96:7'): SimpleSBM_fit 'Bernoulli' model, undirected, one covariate ──
Expected `rmse(pred_bm, pred_sbm)` < 1e-12.
Actual comparison: 0.004492395864 >= 0.000000000001
Difference: 0.004492395863 >= 0
── Failure ('test-SimpleSBM_fit_covariates.R:96:7'): SimpleSBM_fit 'Bernoulli' model, undirected, one covariate ──
Expected `rmse(pred_bm, pred_sbm)` < 1e-12.
Actual comparison: 0.018025113837 >= 0.000000000001
Difference: 0.018025113836 >= 0
── Failure ('test-SimpleSBM_fit_covariates.R:96:7'): SimpleSBM_fit 'Bernoulli' model, undirected, one covariate ──
Expected `rmse(pred_bm, pred_sbm)` < 1e-12.
Actual comparison: 0.016487671144 >= 0.000000000001
Difference: 0.016487671143 >= 0
── Failure ('test-SimpleSBM_fit_covariates.R:175:7'): SimpleSBM_fit 'Bernoulli' model, directed, one covariate ──
Expected `rmse(pred_bm, pred_sbm)` < 1e-12.
Actual comparison: 0.001074416714 >= 0.000000000001
Difference: 0.001074416713 >= 0
── Failure ('test-SimpleSBM_fit_covariates.R:175:7'): SimpleSBM_fit 'Bernoulli' model, directed, one covariate ──
Expected `rmse(pred_bm, pred_sbm)` < 1e-12.
Actual comparison: 0.006415536549 >= 0.000000000001
Difference: 0.006415536548 >= 0
── Failure ('test-SimpleSBM_fit_covariates.R:175:7'): SimpleSBM_fit 'Bernoulli' model, directed, one covariate ──
Expected `rmse(pred_bm, pred_sbm)` < 1e-12.
Actual comparison: 0.006908950803 >= 0.000000000001
Difference: 0.006908950802 >= 0
[ FAIL 12 | WARN 0 | SKIP 0 | PASS 1039 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [64s/75s] OK
- checking PDF version of manual ... [5s/8s] OK
- checking HTML version of manual ... [2s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR