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

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

HostnameOSArch (*)R versionInstalled pkgs
nebbiolo2Linux (Ubuntu 24.04.3 LTS)x86_644.5.2 (2025-10-31) -- "[Not] Part in a Rumble" 4615
merida1macOS 12.7.6 Montereyx86_644.5.2 Patched (2025-11-05 r88990) -- "[Not] Part in a Rumble" 4610
kjohnson1macOS 13.7.5 Venturaarm644.5.2 Patched (2025-11-04 r88984) -- "[Not] Part in a Rumble" 4598
taishanLinux (openEuler 24.03 LTS)aarch644.5.0 (2025-04-11) -- "How About a Twenty-Six" 4668
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-17 13:45 -0500 (Mon, 17 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
merida1macOS 12.7.6 Monterey / x86_64  OK    ERROR  skippedskipped
kjohnson1macOS 13.7.5 Ventura / arm64  OK    OK    WARNINGS    OK  UNNEEDED, same version is already published
taishanLinux (openEuler 24.03 LTS) / aarch64  OK    OK    OK  


CHECK results for CBN2Path on kjohnson1

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: /Library/Frameworks/R.framework/Resources/bin/R CMD check --install=check:CBN2Path.install-out.txt --library=/Library/Frameworks/R.framework/Resources/library --no-vignettes --timings CBN2Path_1.0.0.tar.gz
StartedAt: 2025-11-18 03:41:07 -0500 (Tue, 18 Nov 2025)
EndedAt: 2025-11-18 03:45:26 -0500 (Tue, 18 Nov 2025)
EllapsedTime: 259.1 seconds
RetCode: 0
Status:   WARNINGS  
CheckDir: CBN2Path.Rcheck
Warnings: 1

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Resources/bin/R CMD check --install=check:CBN2Path.install-out.txt --library=/Library/Frameworks/R.framework/Resources/library --no-vignettes --timings CBN2Path_1.0.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/Users/biocbuild/bbs-3.22-bioc/meat/CBN2Path.Rcheck’
* using R version 4.5.2 Patched (2025-11-04 r88984)
* using platform: aarch64-apple-darwin20
* R was compiled by
    Apple clang version 16.0.0 (clang-1600.0.26.6)
    GNU Fortran (GCC) 14.2.0
* running under: macOS Ventura 13.7.8
* using session charset: UTF-8
* using option ‘--no-vignettes’
* 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 ... WARNING
Found the following significant warnings:
  bcbn.c:554:36: warning: if statement has empty body [-Wempty-body]
  bcbn.c:611:30: warning: if statement has empty body [-Wempty-body]
  bcbn.c:623:43: warning: if statement has empty body [-Wempty-body]
  bcbn.c:633:45: warning: if statement has empty body [-Wempty-body]
  bcbn.c:931:30: warning: if statement has empty body [-Wempty-body]
  bcbn.c:943:43: warning: if statement has empty body [-Wempty-body]
  bcbn.c:953:45: warning: if statement has empty body [-Wempty-body]
  ./ct-cbn.h:551:36: warning: if statement has empty body [-Wempty-body]
  ./ct-cbn.h:611:36: warning: if statement has empty body [-Wempty-body]
  ./ct-cbn.h:670:30: warning: if statement has empty body [-Wempty-body]
  ./ct-cbn.h:682:43: warning: if statement has empty body [-Wempty-body]
  ./ct-cbn.h:692:45: warning: if statement has empty body [-Wempty-body]
  ./ct-cbn.h:719:33: warning: if statement has empty body [-Wempty-body]
See ‘/Users/biocbuild/bbs-3.22-bioc/meat/CBN2Path.Rcheck/00install.out’ for details.
* used C compiler: ‘Apple clang version 15.0.0 (clang-1500.0.40.1)’
* used SDK: ‘MacOSX11.3.1.sdk’
* 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 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
File ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/CBN2Path/libs/CBN2Path.so’:
  Found ‘___stderrp’, possibly from ‘stderr’ (C)
  Found ‘___stdoutp’, possibly from ‘stdout’ (C)
  Found ‘_abort’, possibly from ‘abort’ (C)
  Found ‘_printf’, possibly from ‘printf’ (C)

Compiled code should not call entry points which might terminate R nor
write to stdout/stderr instead of to the console, nor use Fortran I/O
nor system RNGs nor [v]sprintf. The detected symbols are linked into
the code but might come from libraries and not actually be called.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
Examples with CPU (user + system) or elapsed time > 5s
                          user system elapsed
hcbnSingle              30.958  0.107  34.734
pathProbQuartetBCBN     14.296  0.772  16.594
visualizeProbabilities  12.183  0.050  13.956
bcbn                     6.396  3.735  11.161
jensenShannonDivergence  5.239  1.023   6.926
Predictability           4.600  0.629   5.882
pathProbQuartetRCBN      3.833  0.926   5.350
* 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 running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... OK
* DONE

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


Installation output

CBN2Path.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL CBN2Path
###
##############################################################################
##############################################################################


* installing to library ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library’
* installing *source* package ‘CBN2Path’ ...
** this is package ‘CBN2Path’ version ‘1.0.0’
** using staged installation
checking for gcc... clang -arch arm64 -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 clang -arch arm64 -std=gnu2x accepts -g... yes
checking for clang -arch arm64 -std=gnu2x option to enable C11 features... -std=gnu11
checking for gsl-config... /opt/R/arm64/bin/gsl-config
checking if GSL version >= 2.5... yes
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: ‘Apple clang version 15.0.0 (clang-1500.0.40.1)’
using SDK: ‘MacOSX11.3.1.sdk’
clang -arch arm64 -std=gnu2x -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -I.  -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c bcbn.c -o bcbn.o
bcbn.c:433:7: warning: unused variable 'i' [-Wunused-variable]
  int i;
      ^
bcbn.c:554:36: warning: if statement has empty body [-Wempty-body]
  if(fscanf(input, "%d %d", N, &p));
                                   ^
bcbn.c:554:36: note: put the semicolon on a separate line to silence this warning
bcbn.c:611:30: warning: if statement has empty body [-Wempty-body]
  if(fscanf(input, "%d", &n));
                             ^
bcbn.c:611:30: note: put the semicolon on a separate line to silence this warning
bcbn.c:623:43: warning: if statement has empty body [-Wempty-body]
  if(fscanf(input,"%d %d", &left, &right));
                                          ^
bcbn.c:623:43: note: put the semicolon on a separate line to silence this warning
bcbn.c:633:45: warning: if statement has empty body [-Wempty-body]
    if(fscanf(input,"%d %d", &left, &right));
                                            ^
bcbn.c:633:45: note: put the semicolon on a separate line to silence this warning
bcbn.c:641:7: warning: unused variable 'i' [-Wunused-variable]
  int i;
      ^
bcbn.c:931:30: warning: if statement has empty body [-Wempty-body]
  if(fscanf(input, "%d", &n));
                             ^
bcbn.c:931:30: note: put the semicolon on a separate line to silence this warning
bcbn.c:943:43: warning: if statement has empty body [-Wempty-body]
  if(fscanf(input,"%d %d", &left, &right));
                                          ^
bcbn.c:943:43: note: put the semicolon on a separate line to silence this warning
bcbn.c:953:45: warning: if statement has empty body [-Wempty-body]
    if(fscanf(input,"%d %d", &left, &right));
                                            ^
bcbn.c:953:45: note: put the semicolon on a separate line to silence this warning
bcbn.c:1056:9: warning: unused variable 'j' [-Wunused-variable]
  int i,j,c,k;
        ^
bcbn.c:1056:13: warning: unused variable 'k' [-Wunused-variable]
  int i,j,c,k;
            ^
bcbn.c:1075:10: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  double p = 0;
         ^
bcbn.c:1281:15: warning: unused variable 'likelihood' [-Wunused-variable]
  long double likelihood, likelihood_d;
              ^
bcbn.c:1367:21: warning: unused variable 'var' [-Wunused-variable]
  double alpha,beta,var,x;
                    ^
bcbn.c:1367:25: warning: variable 'x' set but not used [-Wunused-but-set-variable]
  double alpha,beta,var,x;
                        ^
bcbn.c:1380:21: warning: unused variable 'var' [-Wunused-variable]
  double alpha,beta,var,x;
                    ^
bcbn.c:1380:25: warning: variable 'x' set but not used [-Wunused-but-set-variable]
  double alpha,beta,var,x;
                        ^
bcbn.c:1449:11: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k,N_compatible,N_all_comp;
          ^
bcbn.c:1550:11: warning: variable 'N_all_comp' set but not used [-Wunused-but-set-variable]
  int i,j,N_all_comp,N_compatible,k;
          ^
bcbn.c:1550:22: warning: unused variable 'N_compatible' [-Wunused-variable]
  int i,j,N_all_comp,N_compatible,k;
                     ^
bcbn.c:1550:35: warning: unused variable 'k' [-Wunused-variable]
  int i,j,N_all_comp,N_compatible,k;
                                  ^
bcbn.c:1675:10: warning: unused variable 'alpha' [-Wunused-variable]
  double alpha,beta,var,x;
         ^
bcbn.c:1675:16: warning: unused variable 'beta' [-Wunused-variable]
  double alpha,beta,var,x;
               ^
bcbn.c:1675:21: warning: unused variable 'var' [-Wunused-variable]
  double alpha,beta,var,x;
                    ^
bcbn.c:1675:25: warning: unused variable 'x' [-Wunused-variable]
  double alpha,beta,var,x;
                        ^
bcbn.c:1755:11: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k,N_compatible,N_all_comp;
          ^
bcbn.c:1878:11: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k,N_compatible,N_all_comp;
          ^
bcbn.c:1878:13: warning: unused variable 'N_compatible' [-Wunused-variable]
  int i,j,k,N_compatible,N_all_comp;
            ^
bcbn.c:1878:26: warning: variable 'N_all_comp' set but not used [-Wunused-but-set-variable]
  int i,j,k,N_compatible,N_all_comp;
                         ^
bcbn.c:1946:11: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k,N_compatible,N_all_comp;
          ^
bcbn.c:1946:13: warning: unused variable 'N_compatible' [-Wunused-variable]
  int i,j,k,N_compatible,N_all_comp;
            ^
bcbn.c:1946:26: warning: variable 'N_all_comp' set but not used [-Wunused-but-set-variable]
  int i,j,k,N_compatible,N_all_comp;
                         ^
bcbn.c:1957:7: warning: unused variable 'c' [-Wunused-variable]
  int c = 0;
      ^
bcbn.c:1997:11: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k,N_compatible,N_all_comp;
          ^
bcbn.c:1997:13: warning: unused variable 'N_compatible' [-Wunused-variable]
  int i,j,k,N_compatible,N_all_comp;
            ^
bcbn.c:1997:26: warning: variable 'N_all_comp' set but not used [-Wunused-but-set-variable]
  int i,j,k,N_compatible,N_all_comp;
                         ^
bcbn.c:2008:7: warning: unused variable 'c' [-Wunused-variable]
  int c = 0;
      ^
bcbn.c:2358:7: warning: unused variable 'i' [-Wunused-variable]
  int i,j,k = 0;
      ^
bcbn.c:2358:9: warning: unused variable 'j' [-Wunused-variable]
  int i,j,k = 0;
        ^
bcbn.c:2362:7: warning: unused variable 'accepted' [-Wunused-variable]
  int accepted = 0;
      ^
bcbn.c:2620:22: warning: unused variable 'MH_ratio' [-Wunused-variable]
  long double alpha, MH_ratio;
                     ^
bcbn.c:2630:7: warning: variable 'accepted' set but not used [-Wunused-but-set-variable]
  int accepted = 0;
      ^
bcbn.c:2633:7: warning: variable 'n_edges' set but not used [-Wunused-but-set-variable]
  int n_edges = 0;
      ^
43 warnings generated.
clang -arch arm64 -std=gnu2x -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -I.  -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c ctcbn.c -o ctcbn.o
In file included from ctcbn.c:3:
./ct-cbn.h:184:7: warning: unused variable 'j' [-Wunused-variable]
  int j;
      ^
./ct-cbn.h:551:36: warning: if statement has empty body [-Wempty-body]
  if(fscanf(input, "%d %d", N, &p));
                                   ^
./ct-cbn.h:551:36: note: put the semicolon on a separate line to silence this warning
./ct-cbn.h:611:36: warning: if statement has empty body [-Wempty-body]
  if(fscanf(input, "%d %d", N, &p));
                                   ^
./ct-cbn.h:611:36: note: put the semicolon on a separate line to silence this warning
./ct-cbn.h:670:30: warning: if statement has empty body [-Wempty-body]
  if(fscanf(input, "%d", &n));
                             ^
./ct-cbn.h:670:30: note: put the semicolon on a separate line to silence this warning
./ct-cbn.h:682:43: warning: if statement has empty body [-Wempty-body]
  if(fscanf(input,"%d %d", &left, &right));
                                          ^
./ct-cbn.h:682:43: note: put the semicolon on a separate line to silence this warning
./ct-cbn.h:692:45: warning: if statement has empty body [-Wempty-body]
    if(fscanf(input,"%d %d", &left, &right));
                                            ^
./ct-cbn.h:692:45: note: put the semicolon on a separate line to silence this warning
./ct-cbn.h:719:33: warning: if statement has empty body [-Wempty-body]
    if(fscanf(input, "%lf", &x));
                                ^
./ct-cbn.h:719:33: note: put the semicolon on a separate line to silence this warning
./ct-cbn.h:803:7: warning: unused variable 'i' [-Wunused-variable]
  int i;
      ^
./ct-cbn.h:2721:17: warning: variable 'alpha_new' set but not used [-Wunused-but-set-variable]
  double alpha, alpha_new;
                ^
./ct-cbn.h:3305:7: warning: variable 'mut_next' set but not used [-Wunused-but-set-variable]
  int mut_next, index_next;
      ^
ctcbn.c:79:7: warning: unused variable 'verbose' [-Wunused-variable]
  int verbose = 0;
      ^
ctcbn.c:84:7: warning: unused variable 'GPS' [-Wunused-variable]
  int GPS = 0;
      ^
ctcbn.c:88:7: warning: unused variable 'c' [-Wunused-variable]
  int c = 0;
      ^
ctcbn.c:302:7: warning: unused variable 'error_flag' [-Wunused-variable]
  int error_flag = 0;
      ^
ctcbn.c:303:7: warning: unused variable 'f_flag' [-Wunused-variable]
  int f_flag = 0;
      ^
ctcbn.c:304:7: warning: variable 'e_flag' set but not used [-Wunused-but-set-variable]
  int e_flag = 0;
      ^
ctcbn.c:305:7: warning: unused variable 'gps_flag' [-Wunused-variable]
  int gps_flag = 0;
      ^
ctcbn.c:306:7: warning: unused variable 'l_flag' [-Wunused-variable]
  int l_flag = 0;
      ^
ctcbn.c:308:7: warning: unused variable 't_flag' [-Wunused-variable]
  int t_flag = 1;
      ^
ctcbn.c:313:10: warning: unused variable 'T' [-Wunused-variable]
  double T = REAL(temp)[0];
         ^
ctcbn.c:314:7: warning: variable 'N_iter' set but not used [-Wunused-but-set-variable]
  int N_iter = 0;
      ^
ctcbn.c:319:7: warning: unused variable 'c' [-Wunused-variable]
  int c = 0;
      ^
22 warnings generated.
clang -arch arm64 -std=gnu2x -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -I.  -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c init.c -o init.o
clang -arch arm64 -std=gnu2x -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -I.  -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c queue.c -o queue.o
clang -arch arm64 -std=gnu2x -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o CBN2Path.so bcbn.o ctcbn.o init.o queue.o -L/opt/R/arm64/lib -lgsl -lgslcblas -F/Library/Frameworks/R.framework/.. -framework R
installing to /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/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.2 Patched (2025-11-04 r88984) -- "[Not] Part in a Rumble"
Copyright (C) 2025 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin20

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.2737   Min.   :0.0000066   Min.   :0.0002175   Min.   :0.02335  
 1st Qu.:0.8624   1st Qu.:0.2257680   1st Qu.:0.2246680   1st Qu.:0.09978  
 Median :0.9293   Median :0.4190623   Median :0.3692290   Median :0.12359  
 Mean   :0.9028   Mean   :0.4601896   Mean   :0.4233624   Mean   :0.12736  
 3rd Qu.:0.9682   3rd Qu.:0.6906857   3rd Qu.:0.5905427   3rd Qu.:0.15149  
 Max.   :1.0000   Max.   :0.9998827   Max.   :0.9999834   Max.   :0.31993  
       V5         
 Min.   :-12.043  
 1st Qu.: -7.596  
 Median : -7.149  
 Mean   : -7.273  
 3rd Qu.: -6.815  
 Max.   : -6.271  
       V1               V2                  V3                  V4         
 Min.   :0.2285   Min.   :8.827e-05   Min.   :6.142e-05   Min.   :0.01737  
 1st Qu.:0.8685   1st Qu.:2.322e-01   1st Qu.:2.294e-01   1st Qu.:0.09966  
 Median :0.9332   Median :4.206e-01   Median :3.733e-01   Median :0.12402  
 Mean   :0.9065   Mean   :4.620e-01   Mean   :4.279e-01   Mean   :0.12725  
 3rd Qu.:0.9724   3rd Qu.:6.928e-01   3rd Qu.:5.967e-01   3rd Qu.:0.15201  
 Max.   :1.0000   Max.   :9.999e-01   Max.   :1.000e+00   Max.   :0.31007  
       V5         
 Min.   :-13.058  
 1st Qu.: -7.585  
 Median : -7.135  
 Mean   : -7.265  
 3rd Qu.: -6.806  
 Max.   : -6.270  
       V1               V2                  V3                  V4         
 Min.   :0.3355   Min.   :1.144e-05   Min.   :0.0002641   Min.   :0.02449  
 1st Qu.:0.8624   1st Qu.:2.265e-01   1st Qu.:0.2259041   1st Qu.:0.09760  
 Median :0.9315   Median :4.203e-01   Median :0.3740766   Median :0.12368  
 Mean   :0.9034   Mean   :4.636e-01   Mean   :0.4261133   Mean   :0.12724  
 3rd Qu.:0.9712   3rd Qu.:6.986e-01   3rd Qu.:0.5917421   3rd Qu.:0.15283  
 Max.   :1.0000   Max.   :9.999e-01   Max.   :0.9998804   Max.   :0.33881  
       V5         
 Min.   :-13.362  
 1st Qu.: -7.603  
 Median : -7.160  
 Mean   : -7.279  
 3rd Qu.: -6.823  
 Max.   : -6.279  
       V1               V2                  V3                  V4        
 Min.   :0.3012   Min.   :4.917e-05   Min.   :2.700e-07   Min.   :0.0225  
 1st Qu.:0.8621   1st Qu.:2.322e-01   1st Qu.:2.237e-01   1st Qu.:0.0974  
 Median :0.9279   Median :4.234e-01   Median :3.681e-01   Median :0.1234  
 Mean   :0.9004   Mean   :4.636e-01   Mean   :4.229e-01   Mean   :0.1274  
 3rd Qu.:0.9691   3rd Qu.:6.920e-01   3rd Qu.:5.891e-01   3rd Qu.:0.1542  
 Max.   :1.0000   Max.   :1.000e+00   Max.   :9.999e-01   Max.   :0.3299  
       V5         
 Min.   :-11.987  
 1st Qu.: -7.619  
 Median : -7.177  
 Mean   : -7.297  
 3rd Qu.: -6.838  
 Max.   : -6.271  
[1] "Criterion: 1.00451614260818"
Potential scale reduction factors:

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

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 
 44.059   0.359  49.250 

Example timings

CBN2Path.Rcheck/CBN2Path-Ex.timings

nameusersystemelapsed
Base2IndVec000
Base2Indexing0.0000.0010.000
EdgeMarginalized0.0040.0000.005
Predictability4.6000.6295.882
Spock0.0090.0010.011
bcbn 6.396 3.73511.161
ctcbn0.4510.0130.568
ctcbnSingle0.1090.0040.170
generateData0.0060.0080.014
generateMatrixGenotypes000
generateTCGAMatrix0.0010.0000.000
genotypeFeasibility000
genotypeMatrixMutator0.0010.0000.000
getExamples0.0010.0010.002
getRawTCGAData0.0250.0030.496
hcbn0.9430.0161.023
hcbnSingle30.958 0.10734.734
jensenShannonDivergence5.2391.0236.926
pathEdgeMapper0.0010.0000.001
pathNormalization0.0040.0000.004
pathProbCBN0.0020.0000.002
pathProbQuartetBCBN14.296 0.77216.594
pathProbQuartetCTCBN3.0410.7394.186
pathProbQuartetHCBN3.2020.8294.474
pathProbQuartetRCBN3.8330.9265.350
pathProbSSWM0.0010.0000.001
pathwayCompatibilityQuartet0.0020.0010.002
pathwayFeasibility0.0010.0000.001
pathwayGenotypeCompatibility0.0000.0010.000
pathwayWeightingRCBN0.0040.0000.005
permutations000
posetWeightingRCBN0.0050.0000.004
readLambda0.0020.0010.002
readPattern0.0110.0330.046
readPoset0.0010.0010.003
readTime0.0110.0260.038
transitiveClosure000
visualizeCBNModel0.1330.0030.164
visualizeFitnessLandscape0.1110.0020.117
visualizeProbabilities12.183 0.05013.956