Back to Multiple platform build/check report for BioC 3.14
ABCDEFGHIJKLMNO[P]QRSTUVWXYZ

This page was generated on 2021-08-02 12:04:30 -0400 (Mon, 02 Aug 2021).

CHECK results for predictionet on nebbiolo2

To the developers/maintainers of the predictionet package:
- Please allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/predictionet.git to
reflect on this report. See How and When does the builder pull? When will my changes propagate? here for more information.
- Make sure to use the following settings in order to reproduce any error or warning you see on this page.

raw results

Package 1408/2015HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
predictionet 1.39.0  (landing page)
Benjamin Haibe-Kains
Snapshot Date: 2021-08-01 14:50:04 -0400 (Sun, 01 Aug 2021)
URL: https://git.bioconductor.org/packages/predictionet
Branch: master
Last Commit: ffdf209
Last Changed Date: 2021-05-19 11:50:21 -0400 (Wed, 19 May 2021)
nebbiolo2Linux (Ubuntu 20.04.2 LTS) / x86_64  OK    OK    OK  UNNEEDED, same version is already published
riesling1Windows Server 2019 Standard / x64... NOT SUPPORTED ...
merida1macOS 10.14.6 Mojave / x86_64  OK    OK    OK    OK  UNNEEDED, same version is already published

Summary

Package: predictionet
Version: 1.39.0
Command: /home/biocbuild/bbs-3.14-bioc/R/bin/R CMD check --install=check:predictionet.install-out.txt --library=/home/biocbuild/bbs-3.14-bioc/R/library --no-vignettes --timings predictionet_1.39.0.tar.gz
StartedAt: 2021-08-01 20:43:04 -0400 (Sun, 01 Aug 2021)
EndedAt: 2021-08-01 20:43:56 -0400 (Sun, 01 Aug 2021)
EllapsedTime: 51.8 seconds
RetCode: 0
Status:   OK  
CheckDir: predictionet.Rcheck
Warnings: 0

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.14-bioc/R/bin/R CMD check --install=check:predictionet.install-out.txt --library=/home/biocbuild/bbs-3.14-bioc/R/library --no-vignettes --timings predictionet_1.39.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/home/biocbuild/bbs-3.14-bioc/meat/predictionet.Rcheck’
* using R version 4.1.0 beta (2021-05-03 r80259)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘predictionet/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘predictionet’ version ‘1.39.0’
* 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 ‘predictionet’ 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 R 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 ... NOTE
Packages in Depends field not imported from:
  ‘catnet’ ‘igraph’
  These packages need to be imported from (in the NAMESPACE file)
  for when this namespace is loaded but not attached.
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... NOTE
.build.regression.regrnet: no visible global function definition for
  ‘formula’
.build.regression.regrnet: no visible global function definition for
  ‘lm’
.build2.mim: no visible global function definition for ‘cor’
.exportGML: no visible global function definition for ‘vcount’
.exportGML: no visible global function definition for ‘ecount’
.get.ii4triplets.gaussian: no visible global function definition for
  ‘cor’
.pred.onegene.bayesnet.fs : <anonymous>: no visible global function
  definition for ‘quantile’
.regrnet2matrixtopo: no visible global function definition for
  ‘coefficients’
adj.get.hops: no visible global function definition for ‘as’
netinf: no visible global function definition for ‘quantile’
netinf : <anonymous>: no visible global function definition for
  ‘quantile’
netinf: no visible global function definition for ‘cnMatParents’
netinf.cv : <anonymous>: no visible global function definition for
  ‘quantile’
netinf2gml: no visible global function definition for ‘sessionInfo’
netinf2gml: no visible global function definition for ‘ecount’
netinf2gml: no visible global function definition for ‘vcount’
pred.score : <anonymous>: no visible global function definition for
  ‘quantile’
pred.score : myfoo: no visible global function definition for
  ‘complete.cases’
predictionet.stability.cv : <anonymous>: no visible global function
  definition for ‘quantile’
Undefined global functions or variables:
  as cnMatParents coefficients complete.cases cor ecount formula lm
  quantile sessionInfo vcount
Consider adding
  importFrom("methods", "as")
  importFrom("stats", "coefficients", "complete.cases", "cor", "formula",
             "lm", "quantile")
  importFrom("utils", "sessionInfo")
to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
contains 'methods').
* 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 contents of ‘data’ directory ... OK
* checking data for non-ASCII characters ... OK
* checking LazyData ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking compiled code ... NOTE
Note: information on .o files is not available
File ‘/home/biocbuild/bbs-3.14-bioc/R/library/predictionet/libs/predictionet.so’:
  Found ‘rand’, possibly from ‘rand’ (C)
  Found ‘srand’, possibly from ‘srand’ (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. 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
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... OK
* DONE

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



Installation output

predictionet.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.14-bioc/R/bin/R CMD INSTALL predictionet
###
##############################################################################
##############################################################################


* installing to library ‘/home/biocbuild/bbs-3.14-bioc/R/library’
* installing *source* package ‘predictionet’ ...
** using staged installation
** libs
g++ -std=gnu++14 -I"/home/biocbuild/bbs-3.14-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c foo_mrmr.cpp -o foo_mrmr.o
foo_mrmr.cpp: In function ‘double get_correlation(double*, int*, int, int, int)’:
foo_mrmr.cpp:13:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   13 |  for( unsigned int i=0; i< size; ++i ) {
      |                         ~^~~~~~
foo_mrmr.cpp:23:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   23 |  for( unsigned int i=0; i< size; ++i ) {
      |                         ~^~~~~~
foo_mrmr.cpp: In function ‘void build_mim_subset(double*, double*, int*, int, int, int*, int)’:
foo_mrmr.cpp:50:25: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   50 |  for(unsigned int i=0; i< size_subset; ++i){
      |                        ~^~~~~~~~~~~~~
foo_mrmr.cpp:51:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   51 |   for(unsigned int j=0; j< nvar; ++j){
      |                         ~^~~~~~
foo_mrmr.cpp:57:25: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   57 |  for(unsigned int i=0; i< nvar; ++i){
      |                        ~^~~~~~
foo_mrmr.cpp:59:28: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   59 |   for(unsigned int j=i+1; j< nvar; ++j){
      |                           ~^~~~~~
g++ -std=gnu++14 -I"/home/biocbuild/bbs-3.14-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c mrnet_adapted.cpp -o mrnet_adapted.o
mrnet_adapted.cpp: In function ‘SEXPREC* mrnet_adapted(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
mrnet_adapted.cpp:58:25: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const int’ [-Wsign-compare]
   58 |  for(unsigned int i=0;i < *nsample; ++i){
      |                       ~~^~~~~~~~~~
mrnet_adapted.cpp:103:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  103 |    for( int l=0; l<n; ++l )
      |                  ~^~
mrnet_adapted.cpp:131:25: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const int’ [-Wsign-compare]
  131 |  for(unsigned int j=0; j< *npredn; ++j ) {
      |                        ~^~~~~~~~~
g++ -std=gnu++14 -I"/home/biocbuild/bbs-3.14-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c mrnet_adapted2.cpp -o mrnet_adapted2.o
mrnet_adapted2.cpp: In function ‘SEXPREC* mrnet_adapted2(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
mrnet_adapted2.cpp:62:25: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const int’ [-Wsign-compare]
   62 |  for(unsigned int i=0;i < *nsample; ++i){
      |                       ~~^~~~~~~~~~
mrnet_adapted2.cpp:121:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  121 |    for( int l=0; l<n; ++l )
      |                  ~^~
mrnet_adapted2.cpp:185:25: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const int’ [-Wsign-compare]
  185 |  for(unsigned int j=0; j< *npredn; ++j ) {
      |                        ~^~~~~~~~~
g++ -std=gnu++14 -I"/home/biocbuild/bbs-3.14-bioc/R/include" -DNDEBUG   -I/usr/local/include   -fpic  -g -O2  -Wall -c mrnet_ensemble_standalone.cpp -o mrnet_ensemble_standalone.o
mrnet_ensemble_standalone.cpp: In function ‘void remove_equiv_subtrees(tree<int>&, tree<double>&)’:
mrnet_ensemble_standalone.cpp:24:24: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   24 |  for(unsigned int j=0;j< length_vec;++j){
      |                       ~^~~~~~~~~~~~
mrnet_ensemble_standalone.cpp:42:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   42 |    for(unsigned int j=0;j< length_vec;++j){
      |                         ~^~~~~~~~~~~~
mrnet_ensemble_standalone.cpp:47:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   47 |     for(unsigned int j=0;j< (res.depth(it_main)-1);++j){
      |                          ~^~~~~~~~~~~~~~~~~~~~~~~~
mrnet_ensemble_standalone.cpp:60:28: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   60 |      for(unsigned int j=0;j< length_vec;++j){
      |                           ~^~~~~~~~~~~~
mrnet_ensemble_standalone.cpp:65:28: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   65 |      for(unsigned int j=0;j< length_vec && equiv;++j){
      |                           ~^~~~~~~~~~~~
mrnet_ensemble_standalone.cpp: In function ‘int verify_equivalentset_nparents(tree<int>&, tree<int>::pre_order_iterator, tree<int>::pre_order_iterator, tree<double>&, int)’:
mrnet_ensemble_standalone.cpp:111:7: warning: unused variable ‘found’ [-Wunused-variable]
  111 |  bool found=false;
      |       ^~~~~
mrnet_ensemble_standalone.cpp: In function ‘int verify_equivalentset(tree<int>&, tree<int>::pre_order_iterator, tree<int>::pre_order_iterator, int, int*, int*)’:
mrnet_ensemble_standalone.cpp:223:6: warning: variable ‘to_remove’ set but not used [-Wunused-but-set-variable]
  223 |  int to_remove[number_leafs];
      |      ^~~~~~~~~
mrnet_ensemble_standalone.cpp:283:6: warning: unused variable ‘rootdepth’ [-Wunused-variable]
  283 |  int rootdepth=tr.depth(it);
      |      ^~~~~~~~~
mrnet_ensemble_standalone.cpp: In function ‘void build_tree_int(tree<int>&, tree<int>::pre_order_iterator, tree<int>::pre_order_iterator, int*, int, int)’:
mrnet_ensemble_standalone.cpp:304:6: warning: unused variable ‘rootdepth’ [-Wunused-variable]
  304 |  int rootdepth=tr.depth(it);
      |      ^~~~~~~~~
mrnet_ensemble_standalone.cpp: In function ‘void bootstrap_mrmr_fix(double&, double&, double*, int*, int, int, int, int, int, int, int, int*)’:
mrnet_ensemble_standalone.cpp:384:24: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  384 |  for(unsigned int i=1;i<= nsamples;++i){
      |                       ~^~~~~~~~~~~
mrnet_ensemble_standalone.cpp:377:16: warning: unused variable ‘boot_val’ [-Wunused-variable]
  377 |  double *mim, *boot_val;
      |                ^~~~~~~~
mrnet_ensemble_standalone.cpp: In function ‘void bootstrap_mrmr(double&, double&, double*, int*, int, int, int, int, int, int, int, int*)’:
mrnet_ensemble_standalone.cpp:414:25: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  414 |  for(unsigned int k=0; k< rep_boot; ++k){
      |                        ~^~~~~~~~~~
mrnet_ensemble_standalone.cpp:417:25: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  417 |   for(unsigned int i=1;i<= size_boot;++i){
      |                        ~^~~~~~~~~~~~
mrnet_ensemble_standalone.cpp:426:24: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  426 |  for(unsigned int i=0;i< rep_boot;++i){
      |                       ~^~~~~~~~~~
mrnet_ensemble_standalone.cpp:433:24: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  433 |  for(unsigned int i=0;i< rep_boot;++i){
      |                       ~^~~~~~~~~~
mrnet_ensemble_standalone.cpp: In function ‘void bootstrap_tree(tree<int>&, tree<double>&, double*, int*, int, int, int)’:
mrnet_ensemble_standalone.cpp:507:7: warning: unused variable ‘cnt_back’ [-Wunused-variable]
  507 |   int cnt_back=cnt2;
      |       ^~~~~~~~
mrnet_ensemble_standalone.cpp:442:7: warning: unused variable ‘nsub’ [-Wunused-variable]
  442 |  int  nsub, *prev_sel,nsamples_boot=nsamples,*to_remove;
      |       ^~~~
mrnet_ensemble_standalone.cpp: In function ‘double mrnet_onegene(double*, int, int, int*, int, int)’:
mrnet_ensemble_standalone.cpp:569:25: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  569 |   for(unsigned int j=0;j< nbvar; j++){
      |                        ~^~~~~~~
mrnet_ensemble_standalone.cpp:558:15: warning: variable ‘jmax’ set but not used [-Wunused-but-set-variable]
  558 |  unsigned int jmax;
      |               ^~~~
mrnet_ensemble_standalone.cpp:560:9: warning: unused variable ‘max_val’ [-Wunused-variable]
  560 |  double max_val=-1000;
      |         ^~~~~~~
mrnet_ensemble_standalone.cpp: In function ‘void mrmr_ensemble_one_gene(tree<int>&, tree<int>::pre_order_iterator, double*, int*, int, int, int, int, int, int, double)’:
mrnet_ensemble_standalone.cpp:600:24: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  600 |  for(unsigned int k=0;k< max_elements ;++k){
      |                       ~^~~~~~~~~~~~~~
mrnet_ensemble_standalone.cpp:658:29: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  658 |      for (unsigned int i=0;i<max_elements_tmp-1;++i){
      |                            ~^~~~~~~~~~~~~~~~~~~
mrnet_ensemble_standalone.cpp:665:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  665 |     for(unsigned int k=0;k< n;++k){
      |                          ~^~~
mrnet_ensemble_standalone.cpp:668:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  668 |     for(unsigned int k=0;k<max_elements_tmp;++k){
      |                          ~^~~~~~~~~~~~~~~~~
mrnet_ensemble_standalone.cpp:672:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  672 |     for(unsigned int k=0;k< n;++k){
      |                          ~^~~
mrnet_ensemble_standalone.cpp:677:10: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  677 |      if(k!=(nsub[0]-1) && vec_mean[k]>max_mrmr){
      |         ~^~~~~~~~~~~~~
mrnet_ensemble_standalone.cpp:689:28: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  689 |      for(unsigned int k=0;k< n;++k){
      |                           ~^~~
mrnet_ensemble_standalone.cpp:586:48: warning: unused variable ‘nprev_sel’ [-Wunused-variable]
  586 |  int  *nsub, *prev_sel,nsamples_boot=nsamples, nprev_sel=0;
      |                                                ^~~~~~~~~
mrnet_ensemble_standalone.cpp:587:10: warning: variable ‘res_vec’ set but not used [-Wunused-but-set-variable]
  587 |  double *res_vec, *vec_mean, *vec_sort, *vec_sd,  *vec_local_max_mean, *vec_local_max_sd;;
      |          ^~~~~~~
mrnet_ensemble_standalone.cpp: In function ‘SEXPREC* mrmr_ensemble(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
mrnet_ensemble_standalone.cpp:760:24: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const int’ [-Wsign-compare]
  760 |  for(unsigned int i=0;i< *npredn;++i){
      |                       ~^~~~~~~~~
mrnet_ensemble_standalone.cpp:799:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  799 |    for(unsigned int k=0;k<length_res_old;k++){
      |                         ~^~~~~~~~~~~~~~~
mrnet_ensemble_standalone.cpp:813:25: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  813 |   for(unsigned int k=0;k<length_res;k++){
      |                        ~^~~~~~~~~~~
mrnet_ensemble_standalone.cpp:819:7: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  819 |   if(i==(*npredn-1)){
      |      ~^~~~~~~~~~~~~
mrnet_ensemble_standalone.cpp:822:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  822 |    for(unsigned int k=0;k<length_res;k++){
      |                         ~^~~~~~~~~~~
mrnet_ensemble_standalone.cpp:777:13: warning: unused variable ‘cnt2’ [-Wunused-variable]
  777 |   int cnt=1,cnt2=0;
      |             ^~~~
mrnet_ensemble_standalone.cpp:780:7: warning: unused variable ‘rootdepth’ [-Wunused-variable]
  780 |   int rootdepth=res_tree.depth(it_final);
      |       ^~~~~~~~~
mrnet_ensemble_standalone.cpp:794:7: warning: unused variable ‘ind’ [-Wunused-variable]
  794 |   int ind=0;
      |       ^~~
mrnet_ensemble_standalone.cpp:722:30: warning: unused variable ‘res_all’ [-Wunused-variable]
  722 |  int *predn, *rep_boot,*res,*res_all,*res_all2,*namat;
      |                              ^~~~~~~
mrnet_ensemble_standalone.cpp:722:39: warning: unused variable ‘res_all2’ [-Wunused-variable]
  722 |  int *predn, *rep_boot,*res,*res_all,*res_all2,*namat;
      |                                       ^~~~~~~~
mrnet_ensemble_standalone.cpp:723:6: warning: unused variable ‘vec_tmp’ [-Wunused-variable]
  723 |  int vec_tmp;
      |      ^~~~~~~
mrnet_ensemble_standalone.cpp: In function ‘void mrmr_ensemble_one_gene_remove(tree<int>&, tree<int>::pre_order_iterator, double*, int*, int, int, int, int, int, int, double)’:
mrnet_ensemble_standalone.cpp:860:24: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  860 |  for(unsigned int k=0;k< max_elements ;++k){
      |                       ~^~~~~~~~~~~~~~
mrnet_ensemble_standalone.cpp:904:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  904 |    for (unsigned int i=0;i<=max_depth;++i){
      |                          ~^~~~~~~~~~~
mrnet_ensemble_standalone.cpp:912:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  912 |    for(unsigned int k=0;k< n;++k){
      |                         ~^~~
mrnet_ensemble_standalone.cpp:915:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const int’ [-Wsign-compare]
  915 |    for(unsigned int k=0;k<=max(res_tmp_new.depth(it_local),max_depth) ;++k){
      |                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mrnet_ensemble_standalone.cpp:919:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  919 |    for(unsigned int k=0;k< n;++k){
      |                         ~^~~
mrnet_ensemble_standalone.cpp:848:48: warning: unused variable ‘tmp_val_max_ind’ [-Wunused-variable]
  848 |  int  *nsub, *prev_sel,nsamples_boot=nsamples, tmp_val_max_ind, *prev_sel_tmp,*vec_sol_local,ndelete;
      |                                                ^~~~~~~~~~~~~~~
mrnet_ensemble_standalone.cpp:848:66: warning: unused variable ‘prev_sel_tmp’ [-Wunused-variable]
  848 |  int  *nsub, *prev_sel,nsamples_boot=nsamples, tmp_val_max_ind, *prev_sel_tmp,*vec_sol_local,ndelete;
      |                                                                  ^~~~~~~~~~~~
mrnet_ensemble_standalone.cpp:849:21: warning: unused variable ‘vec_sort’ [-Wunused-variable]
  849 |  double *vec_mean, *vec_sort, *vec_sd,  *vec_local_max_mean, *vec_local_max_sd,tmp_val_max, *mrmr_vec_sort,*vec_sol_local_mrmr;
      |                     ^~~~~~~~
mrnet_ensemble_standalone.cpp:849:63: warning: variable ‘vec_local_max_sd’ set but not used [-Wunused-but-set-variable]
  849 |  double *vec_mean, *vec_sort, *vec_sd,  *vec_local_max_mean, *vec_local_max_sd,tmp_val_max, *mrmr_vec_sort,*vec_sol_local_mrmr;
      |                                                               ^~~~~~~~~~~~~~~~
mrnet_ensemble_standalone.cpp: In function ‘SEXPREC* mrmr_ensemble_remove(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
mrnet_ensemble_standalone.cpp:1029:24: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const int’ [-Wsign-compare]
 1029 |  for(unsigned int i=0;i< *npredn;++i){
      |                       ~^~~~~~~~~
mrnet_ensemble_standalone.cpp:1066:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
 1066 |    for(unsigned int k=0;k<length_res_old;k++){
      |                         ~^~~~~~~~~~~~~~~
mrnet_ensemble_standalone.cpp:1080:25: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
 1080 |   for(unsigned int k=0;k<length_res;k++){
      |                        ~^~~~~~~~~~~
mrnet_ensemble_standalone.cpp:1085:7: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
 1085 |   if(i==(*npredn-1)){
      |      ~^~~~~~~~~~~~~
mrnet_ensemble_standalone.cpp:1089:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
 1089 |    for(unsigned int k=0;k<length_res;k++){
      |                         ~^~~~~~~~~~~
mrnet_ensemble_standalone.cpp:1046:13: warning: unused variable ‘cnt2’ [-Wunused-variable]
 1046 |   int cnt=1,cnt2=0;
      |             ^~~~
mrnet_ensemble_standalone.cpp:1049:7: warning: unused variable ‘rootdepth’ [-Wunused-variable]
 1049 |   int rootdepth=res_tree.depth(it_final);
      |       ^~~~~~~~~
mrnet_ensemble_standalone.cpp:1063:7: warning: unused variable ‘ind’ [-Wunused-variable]
 1063 |   int ind=0;
      |       ^~~
mrnet_ensemble_standalone.cpp:992:30: warning: unused variable ‘res_all’ [-Wunused-variable]
  992 |  int *predn, *rep_boot,*res,*res_all,*res_all2, *namat;
      |                              ^~~~~~~
mrnet_ensemble_standalone.cpp:992:39: warning: unused variable ‘res_all2’ [-Wunused-variable]
  992 |  int *predn, *rep_boot,*res,*res_all,*res_all2, *namat;
      |                                       ^~~~~~~~
mrnet_ensemble_standalone.cpp:993:6: warning: unused variable ‘vec_tmp’ [-Wunused-variable]
  993 |  int vec_tmp;
      |      ^~~~~~~
mrnet_ensemble_standalone.cpp: In function ‘SEXPREC* mrmr_ensemble(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
mrnet_ensemble_standalone.cpp:840:9: warning: ‘Rres’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  840 |  return Rres;
      |         ^~~~
mrnet_ensemble_standalone.cpp:800:25: warning: ‘res_old’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  800 |     res_all[k]=res_old[k];
      |                ~~~~~~~~~^
mrnet_ensemble_standalone.cpp: In function ‘SEXPREC* mrmr_ensemble_remove(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
mrnet_ensemble_standalone.cpp:1105:9: warning: ‘Rres’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 1105 |  return Rres;
      |         ^~~~
mrnet_ensemble_standalone.cpp:1067:25: warning: ‘res_old’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 1067 |     res_all[k]=res_old[k];
      |                ~~~~~~~~~^
g++ -std=gnu++14 -shared -L/home/biocbuild/bbs-3.14-bioc/R/lib -L/usr/local/lib -o predictionet.so foo_mrmr.o mrnet_adapted.o mrnet_adapted2.o mrnet_ensemble_standalone.o -L/home/biocbuild/bbs-3.14-bioc/R/lib -lR
installing to /home/biocbuild/bbs-3.14-bioc/R/library/00LOCK-predictionet/00new/predictionet/libs
** R
** data
*** moving datasets to lazyload DB
** 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 (predictionet)

Tests output


Example timings

predictionet.Rcheck/predictionet-Ex.timings

nameusersystemelapsed
adj.get.hops0.0130.0000.013
adj.remove.cycles0.0020.0000.001
data.discretize0.1200.0080.128
expO.colon.ras0.0010.0000.001
jorissen.colon.ras000
net2pred0.0390.0070.046
netinf0.2070.0250.231
netinf.cv0.1720.0000.171
netinf.predict0.0490.0000.049
netinf2gml0.1680.0000.168
pred.score0.0040.0000.004
predictionet.press.statistic0.1780.0000.177
predictionet.stability.cv0.1840.0030.187