Back to Multiple platform build/check report for BioC 3.22:   simplified   long
AB[C]DEFGHIJKLMNOPQRSTUVWXYZ

This page was generated on 2025-11-05 12:40 -0500 (Wed, 05 Nov 2025).

HostnameOSArch (*)R versionInstalled pkgs
nebbiolo2Linux (Ubuntu 24.04.3 LTS)x86_644.5.1 Patched (2025-08-23 r88802) -- "Great Square Root" 4902
kjohnson3macOS 13.7.7 Venturaarm644.5.1 Patched (2025-09-10 r88807) -- "Great Square Root" 4638
Click on any hostname to see more info about the system (e.g. compilers)      (*) as reported by 'uname -p', except on Windows and Mac OS X

Package 293/2361HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
CBN2Path 1.0.0  (landing page)
William Choi-Kim
Snapshot Date: 2025-11-04 13:45 -0500 (Tue, 04 Nov 2025)
git_url: https://git.bioconductor.org/packages/CBN2Path
git_branch: RELEASE_3_22
git_last_commit: bb06034
git_last_commit_date: 2025-10-29 11:39:00 -0500 (Wed, 29 Oct 2025)
nebbiolo2Linux (Ubuntu 24.04.3 LTS) / x86_64  OK    OK    OK  UNNEEDED, same version is already published
kjohnson3macOS 13.7.7 Ventura / arm64  OK    OK    WARNINGS    OK  UNNEEDED, same version is already published


CHECK results for CBN2Path on nebbiolo2

To the developers/maintainers of the CBN2Path package:
- Allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/CBN2Path.git to reflect on this report. See Troubleshooting Build Report for more information.
- Use the following Renviron settings to reproduce errors and warnings.
- If 'R CMD check' started to fail recently on the Linux builder(s) over a missing dependency, add the missing dependency to 'Suggests:' in your DESCRIPTION file. See Renviron.bioc for more information.

raw results


Summary

Package: CBN2Path
Version: 1.0.0
Command: /home/biocbuild/bbs-3.22-bioc/R/bin/R CMD check --install=check:CBN2Path.install-out.txt --library=/home/biocbuild/bbs-3.22-bioc/R/site-library --timings CBN2Path_1.0.0.tar.gz
StartedAt: 2025-11-04 21:49:37 -0500 (Tue, 04 Nov 2025)
EndedAt: 2025-11-04 22:08:06 -0500 (Tue, 04 Nov 2025)
EllapsedTime: 1109.1 seconds
RetCode: 0
Status:   OK  
CheckDir: CBN2Path.Rcheck
Warnings: 0

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.22-bioc/R/bin/R CMD check --install=check:CBN2Path.install-out.txt --library=/home/biocbuild/bbs-3.22-bioc/R/site-library --timings CBN2Path_1.0.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/home/biocbuild/bbs-3.22-bioc/meat/CBN2Path.Rcheck’
* using R version 4.5.1 Patched (2025-08-23 r88802)
* using platform: x86_64-pc-linux-gnu
* R was compiled by
    gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
    GNU Fortran (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
* running under: Ubuntu 24.04.3 LTS
* using session charset: UTF-8
* checking for file ‘CBN2Path/DESCRIPTION’ ... OK
* this is package ‘CBN2Path’ version ‘1.0.0’
* 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 ... NOTE
Found the following hidden files and directories:
  .BBSoptions
These were most likely included in error. See section ‘Package
structure’ in the ‘Writing R Extensions’ manual.
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘CBN2Path’ can be installed ... OK
* used C compiler: ‘gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0’
* 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 ... NOTE
Found the following CITATION file in a non-standard place:
  CITATION.cff
Most likely ‘inst/CITATION’ should be used instead.
* checking code files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking loading without being on the library search path ... 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 ... NOTE
bcbn: no visible global function definition for ‘SnowParam’
bcbn: no visible binding for global variable ‘datasets’
ctcbn: no visible global function definition for ‘SnowParam’
generateGeomNodePoint: no visible binding for global variable ‘nodes’
generateGeomNodeText: no visible binding for global variable ‘nodes’
generateGgText: no visible binding for global variable ‘x’
generateGgText: no visible binding for global variable ‘y’
generateGgText: no visible binding for global variable ‘label’
generateMatrixGenotypes : f1 : <anonymous>: no visible global function
  definition for ‘combn’
hcbn: no visible global function definition for ‘SnowParam’
variableCapSize: no visible binding for global variable ‘edges’
variableCapSize: no visible binding for global variable ‘x’
variableCapSize: no visible binding for global variable ‘y’
visualizeCBNModel: no visible binding for global variable ‘name’
visualizeFitnessLandscape: no visible binding for global variable ‘x’
visualizeFitnessLandscape: no visible binding for global variable ‘y’
visualizeFitnessLandscape: no visible binding for global variable
  ‘name’
visualizeProbabilities: no visible binding for global variable ‘name’
Undefined global functions or variables:
  SnowParam combn datasets edges label name nodes x y
Consider adding
  importFrom("utils", "combn")
to your NAMESPACE file.
* checking Rd files ... 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 line endings in shell scripts ... 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 compiled code ... NOTE
Note: information on .o files is not available
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
Examples with CPU (user + system) or elapsed time > 5s
                          user system elapsed
hcbnSingle              73.497  0.345  73.843
visualizeProbabilities  32.757  0.317  33.075
pathProbQuartetBCBN     30.617  0.444  31.061
bcbn                    14.227  1.294  15.521
jensenShannonDivergence  8.706  0.453   9.160
Predictability           7.443  0.288   7.731
pathProbQuartetRCBN      6.979  0.347   7.327
pathProbQuartetHCBN      5.381  0.256   5.641
pathProbQuartetCTCBN     5.038  0.256   5.294
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘testthat.R’
 OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... OK
* checking re-building of vignette outputs ... OK
* checking PDF version of manual ... OK
* DONE

Status: 4 NOTEs
See
  ‘/home/biocbuild/bbs-3.22-bioc/meat/CBN2Path.Rcheck/00check.log’
for details.


Installation output

CBN2Path.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.22-bioc/R/bin/R CMD INSTALL CBN2Path
###
##############################################################################
##############################################################################


* installing to library ‘/home/biocbuild/bbs-3.22-bioc/R/site-library’
* installing *source* package ‘CBN2Path’ ...
** this is package ‘CBN2Path’ version ‘1.0.0’
** using staged installation
checking for gcc... gcc -std=gnu2x
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc -std=gnu2x accepts -g... yes
checking for gcc -std=gnu2x option to enable C11 features... none needed
checking for gsl-config... /usr/bin/gsl-config
checking if GSL version >= 2.5... yes
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: ‘gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0’
gcc -std=gnu2x -I"/home/biocbuild/bbs-3.22-bioc/R/include" -DNDEBUG -I/usr/include -I.  -I/usr/local/include    -fpic  -g -O2  -Wall -Werror=format-security -c bcbn.c -o bcbn.o
bcbn.c: In function ‘bcbn_write_poset’:
bcbn.c:228:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  228 |     for (j=0; j<n; j++)
      |     ^~~
bcbn.c:232:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  232 |       fprintf(output, "0 0\n");
      |       ^~~~~~~
bcbn.c: In function ‘bcbn_is_equal_int_matrix’:
bcbn.c:332:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  332 |     for (j=0; j<n; j++)
      |     ^~~
bcbn.c:336:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  336 |       return 1;
      |       ^~~~~~
bcbn.c: In function ‘bcbn_free_lattice_children’:
bcbn.c:433:7: warning: unused variable ‘i’ [-Wunused-variable]
  433 |   int i;
      |       ^
bcbn.c: In function ‘bcbn_print_genotype’:
bcbn.c:641:7: warning: unused variable ‘i’ [-Wunused-variable]
  641 |   int i;
      |       ^
bcbn.c: In function ‘bcbn_bfs_order_ideals’:
bcbn.c:691:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  691 |         for (j=0; j<lin_ext_size; j++)
      |         ^~~
bcbn.c:697:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  697 |           if (! is_in)  // add to linear extension:
      |           ^~
bcbn.c: In function ‘bcbn_hamming_distance’:
bcbn.c:794:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  794 |   for(i=0; i<n; i++)
      |   ^~~
bcbn.c:801:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  801 |     free(g);
      |     ^~~~
bcbn.c: In function ‘compute_all_cbn_prob’:
bcbn.c:1056:13: warning: unused variable ‘k’ [-Wunused-variable]
 1056 |   int i,j,c,k;
      |             ^
bcbn.c:1056:9: warning: unused variable ‘j’ [-Wunused-variable]
 1056 |   int i,j,c,k;
      |         ^
bcbn.c: In function ‘bcbn_reduce_to_cover_relations’:
bcbn.c:1212:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 1212 |     for (j=0; j<n; j++)
      |     ^~~
bcbn.c:1219:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 1219 |       while (empty(&q) == FALSE)
      |       ^~~~~
bcbn.c: In function ‘compute_likelihood’:
bcbn.c:1281:15: warning: unused variable ‘likelihood’ [-Wunused-variable]
 1281 |   long double likelihood, likelihood_d;
      |               ^~~~~~~~~~
bcbn.c: In function ‘relocate_theta_i’:
bcbn.c:1367:25: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
 1367 |   double alpha,beta,var,x;
      |                         ^
bcbn.c:1367:21: warning: unused variable ‘var’ [-Wunused-variable]
 1367 |   double alpha,beta,var,x;
      |                     ^~~
bcbn.c: In function ‘compute_theta_transition_prob’:
bcbn.c:1380:25: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
 1380 |   double alpha,beta,var,x;
      |                         ^
bcbn.c:1380:21: warning: unused variable ‘var’ [-Wunused-variable]
 1380 |   double alpha,beta,var,x;
      |                     ^~~
bcbn.c: In function ‘propose_new_cover_relation’:
bcbn.c:1449:11: warning: unused variable ‘k’ [-Wunused-variable]
 1449 |   int i,j,k,N_compatible,N_all_comp;
      |           ^
bcbn.c: In function ‘get_tp_for_new_cover_move’:
bcbn.c:1550:35: warning: unused variable ‘k’ [-Wunused-variable]
 1550 |   int i,j,N_all_comp,N_compatible,k;
      |                                   ^
bcbn.c:1550:22: warning: unused variable ‘N_compatible’ [-Wunused-variable]
 1550 |   int i,j,N_all_comp,N_compatible,k;
      |                      ^~~~~~~~~~~~
bcbn.c:1550:11: warning: variable ‘N_all_comp’ set but not used [-Wunused-but-set-variable]
 1550 |   int i,j,N_all_comp,N_compatible,k;
      |           ^~~~~~~~~~
bcbn.c: In function ‘relocate_epsilon’:
bcbn.c:1675:25: warning: unused variable ‘x’ [-Wunused-variable]
 1675 |   double alpha,beta,var,x;
      |                         ^
bcbn.c:1675:21: warning: unused variable ‘var’ [-Wunused-variable]
 1675 |   double alpha,beta,var,x;
      |                     ^~~
bcbn.c:1675:16: warning: unused variable ‘beta’ [-Wunused-variable]
 1675 |   double alpha,beta,var,x;
      |                ^~~~
bcbn.c:1675:10: warning: unused variable ‘alpha’ [-Wunused-variable]
 1675 |   double alpha,beta,var,x;
      |          ^~~~~
bcbn.c: In function ‘propose_new_bcbn_transitive_closure_relation’:
bcbn.c:1755:11: warning: unused variable ‘k’ [-Wunused-variable]
 1755 |   int i,j,k,N_compatible,N_all_comp;
      |           ^
bcbn.c: In function ‘propose_delete_bcbn_transitive_closure_relation’:
bcbn.c:1878:26: warning: variable ‘N_all_comp’ set but not used [-Wunused-but-set-variable]
 1878 |   int i,j,k,N_compatible,N_all_comp;
      |                          ^~~~~~~~~~
bcbn.c:1878:13: warning: unused variable ‘N_compatible’ [-Wunused-variable]
 1878 |   int i,j,k,N_compatible,N_all_comp;
      |             ^~~~~~~~~~~~
bcbn.c:1878:11: warning: unused variable ‘k’ [-Wunused-variable]
 1878 |   int i,j,k,N_compatible,N_all_comp;
      |           ^
bcbn.c: In function ‘get_tp_for_delete_bcbn_transitive_closure_relation_move’:
bcbn.c:1957:7: warning: unused variable ‘c’ [-Wunused-variable]
 1957 |   int c = 0;
      |       ^
bcbn.c:1946:26: warning: variable ‘N_all_comp’ set but not used [-Wunused-but-set-variable]
 1946 |   int i,j,k,N_compatible,N_all_comp;
      |                          ^~~~~~~~~~
bcbn.c:1946:13: warning: unused variable ‘N_compatible’ [-Wunused-variable]
 1946 |   int i,j,k,N_compatible,N_all_comp;
      |             ^~~~~~~~~~~~
bcbn.c:1946:11: warning: unused variable ‘k’ [-Wunused-variable]
 1946 |   int i,j,k,N_compatible,N_all_comp;
      |           ^
bcbn.c: In function ‘get_tp_for_new_bcbn_transitive_closure_relation_move’:
bcbn.c:2008:7: warning: unused variable ‘c’ [-Wunused-variable]
 2008 |   int c = 0;
      |       ^
bcbn.c:1997:26: warning: variable ‘N_all_comp’ set but not used [-Wunused-but-set-variable]
 1997 |   int i,j,k,N_compatible,N_all_comp;
      |                          ^~~~~~~~~~
bcbn.c:1997:13: warning: unused variable ‘N_compatible’ [-Wunused-variable]
 1997 |   int i,j,k,N_compatible,N_all_comp;
      |             ^~~~~~~~~~~~
bcbn.c:1997:11: warning: unused variable ‘k’ [-Wunused-variable]
 1997 |   int i,j,k,N_compatible,N_all_comp;
      |           ^
bcbn.c: In function ‘start_Exp_theta_MH’:
bcbn.c:2362:7: warning: unused variable ‘accepted’ [-Wunused-variable]
 2362 |   int accepted = 0;
      |       ^~~~~~~~
bcbn.c:2358:9: warning: unused variable ‘j’ [-Wunused-variable]
 2358 |   int i,j,k = 0;
      |         ^
bcbn.c:2358:7: warning: unused variable ‘i’ [-Wunused-variable]
 2358 |   int i,j,k = 0;
      |       ^
bcbn.c: In function ‘run_MH_sampler’:
bcbn.c:2620:22: warning: unused variable ‘MH_ratio’ [-Wunused-variable]
 2620 |   long double alpha, MH_ratio;
      |                      ^~~~~~~~
gcc -std=gnu2x -I"/home/biocbuild/bbs-3.22-bioc/R/include" -DNDEBUG -I/usr/include -I.  -I/usr/local/include    -fpic  -g -O2  -Wall -Werror=format-security -c ctcbn.c -o ctcbn.o
In file included from ctcbn.c:3:
ct-cbn.h: In function ‘print_int_array’:
ct-cbn.h:184:7: warning: unused variable ‘j’ [-Wunused-variable]
  184 |   int j;
      |       ^
ct-cbn.h: In function ‘write_poset’:
ct-cbn.h:274:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  274 |     for (j=1; j<=n; j++)
      |     ^~~
ct-cbn.h:278:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  278 |       fprintf(output, "0\n");
      |       ^~~~~~~
ct-cbn.h: In function ‘print_genotype’:
ct-cbn.h:803:7: warning: unused variable ‘i’ [-Wunused-variable]
  803 |   int i;
      |       ^
ct-cbn.h: In function ‘bfs_order_ideals’:
ct-cbn.h:853:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  853 |         for (j=0; j<lin_ext_size; j++)
      |         ^~~
ct-cbn.h:859:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  859 |           if (! is_in)  // add to linear extension:
      |           ^~
ct-cbn.h: In function ‘hamming_distance’:
ct-cbn.h:956:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  956 |   for(i=0; i<n; i++)
      |   ^~~
ct-cbn.h:963:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  963 |     free(g);
      |     ^~~~
ct-cbn.h: In function ‘is_after’:
ct-cbn.h:1198:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 1198 |     for ( a=0; a<=M->n; a++ )
      |     ^~~
ct-cbn.h:1201:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 1201 |       return 1;
      |       ^~~~~~
ct-cbn.h: In function ‘is_strict_after’:
ct-cbn.h:1211:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 1211 |     for ( a=0; a<=M->n; a++ )
      |     ^~~
ct-cbn.h:1214:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 1214 |       return 1;
      |       ^~~~~~
ct-cbn.h: In function ‘compute_all_exp’:
ct-cbn.h:1283: warning: ignoring ‘#pragma omp parallel’ [-Wunknown-pragmas]
 1283 | #pragma omp parallel for private(i,c,k,j,g, all_pred_in_k, pred,l)
      | 
ct-cbn.h:1318:11: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 1318 |           for (l = 0; l < m; l++)
      |           ^~~
ct-cbn.h:1346:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 1346 |             Exp[pos][i] = censexp[pos][i][m-1];
      |             ^~~
ct-cbn.h: In function ‘EM_epsilon’:
ct-cbn.h:1440:7: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 1440 |       for(i = 1; i < m; i++)
      |       ^~~
ct-cbn.h:1447:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 1447 |         loglik_new += log (prob_tmp) * D[k].count;
      |         ^~~~~~~~~~
ct-cbn.h: In function ‘compute_loglik’:
ct-cbn.h:1471:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 1471 |     for(i = 1; i < m; i++)
      |     ^~~
ct-cbn.h:1477:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 1477 |       loglik[k] = log (prob_tmp) ;
      |       ^~~~~~
ct-cbn.h: In function ‘MLE’:
ct-cbn.h:1833:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 1833 |     for (k=0; k<N_u; k++)
      |     ^~~
ct-cbn.h:1839:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 1839 |       lambda[i] = (double) N / sum;
      |       ^~~~~~
ct-cbn.h: In function ‘EM’:
ct-cbn.h:1920:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 1920 |     for (k=0; k<N_u; k++)
      |     ^~~
ct-cbn.h:1939:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 1939 |       if (verbose)
      |       ^~
ct-cbn.h: In function ‘violation_map’:
ct-cbn.h:2488:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 2488 |   for (i=1; i<=n; i++)
      |   ^~~
ct-cbn.h:2502:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 2502 |     qsort(V, idx, sizeof(int *), compare_violation_pairs);  // small violators first
      |     ^~~~~
ct-cbn.h: In function ‘reduce_to_cover_relations’:
ct-cbn.h:2524:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 2524 |     for (j=1; j<=n; j++)
      |     ^~~
ct-cbn.h:2531:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 2531 |       while (empty(&q) == FALSE)
      |       ^~~~~
ct-cbn.h: In function ‘try_edge’:
ct-cbn.h:2741:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 2741 |     for(j=0;j<n*n;j++)
      |     ^~~
ct-cbn.h:2744:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 2744 |       R4[i] = c;
      |       ^~
ct-cbn.h:2784:13: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 2784 |             for(i=1;i<n+1;i++)
      |             ^~~
ct-cbn.h:2790:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 2790 |               if(c == 1)
      |               ^~
ct-cbn.h:2943:13: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 2943 |             for(i=1;i<n+1;i++)
      |             ^~~
ct-cbn.h:2949:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 2949 |               if(c == 1)
      |               ^~
ct-cbn.h:2721:17: warning: variable ‘alpha_new’ set but not used [-Wunused-but-set-variable]
 2721 |   double alpha, alpha_new;
      |                 ^~~~~~~~~
ct-cbn.h: In function ‘local_search’:
ct-cbn.h:3134:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 3134 |     for(j=1;j<=M->n;j++)
      |     ^~~
ct-cbn.h:3161:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 3161 |       print_double_matrix(loglik_next, M->n, M->n);
      |       ^~~~~~~~~~~~~~~~~~~
ct-cbn.h: In function ‘is_equal_int_matrix’:
ct-cbn.h:3196:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 3196 |     for (j=0; j<n; j++)
      |     ^~~
ct-cbn.h:3200:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 3200 |       return 1;
      |       ^~~~~~
ct-cbn.h: In function ‘ML_path’:
ct-cbn.h:3305:7: warning: variable ‘mut_next’ set but not used [-Wunused-but-set-variable]
 3305 |   int mut_next, index_next;
      |       ^~~~~~~~
ctcbn.c: In function ‘ctcbn_’:
ctcbn.c:88:7: warning: unused variable ‘c’ [-Wunused-variable]
   88 |   int c = 0;
      |       ^
ctcbn.c:84:7: warning: unused variable ‘GPS’ [-Wunused-variable]
   84 |   int GPS = 0;
      |       ^~~
ctcbn.c:79:7: warning: unused variable ‘verbose’ [-Wunused-variable]
   79 |   int verbose = 0;
      |       ^~~~~~~
ctcbn.c: In function ‘hcbn_’:
ctcbn.c:319:7: warning: unused variable ‘c’ [-Wunused-variable]
  319 |   int c = 0;
      |       ^
ctcbn.c:314:7: warning: variable ‘N_iter’ set but not used [-Wunused-but-set-variable]
  314 |   int N_iter = 0;
      |       ^~~~~~
ctcbn.c:313:10: warning: unused variable ‘T’ [-Wunused-variable]
  313 |   double T = REAL(temp)[0];
      |          ^
ctcbn.c:308:7: warning: unused variable ‘t_flag’ [-Wunused-variable]
  308 |   int t_flag = 1;
      |       ^~~~~~
ctcbn.c:306:7: warning: unused variable ‘l_flag’ [-Wunused-variable]
  306 |   int l_flag = 0;
      |       ^~~~~~
ctcbn.c:305:7: warning: unused variable ‘gps_flag’ [-Wunused-variable]
  305 |   int gps_flag = 0;
      |       ^~~~~~~~
ctcbn.c:304:7: warning: variable ‘e_flag’ set but not used [-Wunused-but-set-variable]
  304 |   int e_flag = 0;
      |       ^~~~~~
ctcbn.c:303:7: warning: unused variable ‘f_flag’ [-Wunused-variable]
  303 |   int f_flag = 0;
      |       ^~~~~~
ctcbn.c:302:7: warning: unused variable ‘error_flag’ [-Wunused-variable]
  302 |   int error_flag = 0;
      |       ^~~~~~~~~~
ctcbn.c:468:10: warning: ‘rOutput’ may be used uninitialized [-Wmaybe-uninitialized]
  468 |   return char_to_sexp(rOutput);
      |          ^~~~~~~~~~~~~~~~~~~~~
ctcbn.c:320:9: note: ‘rOutput’ was declared here
  320 |   char* rOutput;
      |         ^~~~~~~
gcc -std=gnu2x -I"/home/biocbuild/bbs-3.22-bioc/R/include" -DNDEBUG -I/usr/include -I.  -I/usr/local/include    -fpic  -g -O2  -Wall -Werror=format-security -c init.c -o init.o
gcc -std=gnu2x -I"/home/biocbuild/bbs-3.22-bioc/R/include" -DNDEBUG -I/usr/include -I.  -I/usr/local/include    -fpic  -g -O2  -Wall -Werror=format-security -c queue.c -o queue.o
gcc -std=gnu2x -shared -L/home/biocbuild/bbs-3.22-bioc/R/lib -L/usr/local/lib -o CBN2Path.so bcbn.o ctcbn.o init.o queue.o -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -L/home/biocbuild/bbs-3.22-bioc/R/lib -lR
installing to /home/biocbuild/bbs-3.22-bioc/R/site-library/00LOCK-CBN2Path/00new/CBN2Path/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (CBN2Path)

Tests output

CBN2Path.Rcheck/tests/testthat.Rout


R version 4.5.1 Patched (2025-08-23 r88802) -- "Great Square Root"
Copyright (C) 2025 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
> 
> library(testthat)
> library(CBN2Path)
> 
> test_check("CBN2Path")
chain: 1
0
chain: 2
0
chain: 3
0
chain: 4
0
       V1               V2                V3                 V4         
 Min.   :0.1842   Min.   :0.06302   Min.   :0.001353   Min.   :0.02016  
 1st Qu.:0.8382   1st Qu.:0.62794   1st Qu.:0.414939   1st Qu.:0.08910  
 Median :0.9181   Median :0.75578   Median :0.563870   Median :0.11253  
 Mean   :0.8860   Mean   :0.73469   Mean   :0.560273   Mean   :0.11743  
 3rd Qu.:0.9653   3rd Qu.:0.86511   3rd Qu.:0.708028   3rd Qu.:0.14150  
 Max.   :1.0000   Max.   :0.99995   Max.   :0.999961   Max.   :0.32326  
       V5         
 Min.   :-11.983  
 1st Qu.: -7.423  
 Median : -6.991  
 Mean   : -7.116  
 3rd Qu.: -6.677  
 Max.   : -6.150  
       V1               V2                 V3                 V4         
 Min.   :0.1696   Min.   :0.009654   Min.   :0.004499   Min.   :0.01698  
 1st Qu.:0.8325   1st Qu.:0.627642   1st Qu.:0.414903   1st Qu.:0.08910  
 Median :0.9114   Median :0.757268   Median :0.564253   Median :0.11480  
 Mean   :0.8820   Mean   :0.736214   Mean   :0.560378   Mean   :0.11776  
 3rd Qu.:0.9611   3rd Qu.:0.868665   3rd Qu.:0.709720   3rd Qu.:0.14282  
 Max.   :1.0000   Max.   :0.999995   Max.   :0.999603   Max.   :0.29866  
       V5         
 Min.   :-11.746  
 1st Qu.: -7.430  
 Median : -7.002  
 Mean   : -7.125  
 3rd Qu.: -6.688  
 Max.   : -6.163  
       V1               V2                V3                  V4         
 Min.   :0.2764   Min.   :0.01719   Min.   :0.0007039   Min.   :0.01485  
 1st Qu.:0.8316   1st Qu.:0.62610   1st Qu.:0.4117865   1st Qu.:0.08893  
 Median :0.9152   Median :0.75767   Median :0.5580187   Median :0.11541  
 Mean   :0.8834   Mean   :0.73560   Mean   :0.5558122   Mean   :0.11817  
 3rd Qu.:0.9643   3rd Qu.:0.86498   3rd Qu.:0.7023792   3rd Qu.:0.14329  
 Max.   :1.0000   Max.   :0.99994   Max.   :0.9994576   Max.   :0.33502  
       V5         
 Min.   :-11.212  
 1st Qu.: -7.418  
 Median : -6.995  
 Mean   : -7.118  
 3rd Qu.: -6.679  
 Max.   : -6.148  
       V1               V2                V3                 V4         
 Min.   :0.2666   Min.   :0.01528   Min.   :0.000834   Min.   :0.01688  
 1st Qu.:0.8372   1st Qu.:0.61940   1st Qu.:0.413920   1st Qu.:0.08932  
 Median :0.9170   Median :0.75150   Median :0.563062   Median :0.11458  
 Mean   :0.8850   Mean   :0.73090   Mean   :0.561007   Mean   :0.11852  
 3rd Qu.:0.9641   3rd Qu.:0.86512   3rd Qu.:0.713045   3rd Qu.:0.14327  
 Max.   :1.0000   Max.   :0.99995   Max.   :0.999609   Max.   :0.31773  
       V5         
 Min.   :-13.448  
 1st Qu.: -7.429  
 Median : -6.999  
 Mean   : -7.127  
 3rd Qu.: -6.687  
 Max.   : -6.146  
[1] "Criterion: 1.00058418571758"
Potential scale reduction factors:

     Point est. Upper C.I.
[1,]          1          1
[2,]          1          1
[3,]          1          1
[4,]          1          1
[5,]          1          1

Multivariate psrf

1
[1] "##########################################"
[ FAIL 0 | WARN 2 | SKIP 0 | PASS 9 ]

[ FAIL 0 | WARN 2 | SKIP 0 | PASS 9 ]
> 
> proc.time()
   user  system elapsed 
100.044   1.401 101.441 

Example timings

CBN2Path.Rcheck/CBN2Path-Ex.timings

nameusersystemelapsed
Base2IndVec0.0000.0010.001
Base2Indexing0.0010.0000.001
EdgeMarginalized0.0110.0020.013
Predictability7.4430.2887.731
Spock0.0160.0000.016
bcbn14.227 1.29415.521
ctcbn1.0740.1151.188
ctcbnSingle0.1900.0040.193
generateData0.0140.0030.016
generateMatrixGenotypes0.0010.0000.001
generateTCGAMatrix0.0010.0000.001
genotypeFeasibility0.0010.0000.000
genotypeMatrixMutator0.0000.0010.000
getExamples0.0040.0000.004
getRawTCGAData0.0760.0070.543
hcbn2.2460.0162.262
hcbnSingle73.497 0.34573.843
jensenShannonDivergence8.7060.4539.160
pathEdgeMapper0.0010.0000.002
pathNormalization0.010.000.01
pathProbCBN0.0060.0000.006
pathProbQuartetBCBN30.617 0.44431.061
pathProbQuartetCTCBN5.0380.2565.294
pathProbQuartetHCBN5.3810.2565.641
pathProbQuartetRCBN6.9790.3477.327
pathProbSSWM0.0020.0010.003
pathwayCompatibilityQuartet0.0050.0000.005
pathwayFeasibility0.0010.0000.001
pathwayGenotypeCompatibility0.0000.0000.001
pathwayWeightingRCBN0.0110.0000.011
permutations0.0010.0000.001
posetWeightingRCBN0.0120.0010.012
readLambda0.0040.0000.004
readPattern0.0150.0100.025
readPoset0.0040.0000.004
readTime0.0200.0060.026
transitiveClosure000
visualizeCBNModel0.3510.0030.361
visualizeFitnessLandscape0.2630.0010.264
visualizeProbabilities32.757 0.31733.075