Running ‘testthat.R’ [7s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # 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(fuseMLR)
  > 
  > test_check("fuseMLR")
  Class     : Data
  name      : geneexpr
  ind. id.  : IDS
  n         : 49
  p         : 132
  Class: HashTable
  id: test
  -----------------
  [1] key   class
  <0 rows> (or 0-length row.names)
  Learner          : ranger
  TrainLayer       : geneexpr
  Package          : ranger
  Learn function   : ranger
  Training of base model on layer geneexpr started.
  
  Training of base model on layer geneexpr done.
  
  Class           : Model
  
  Learner info.   
  -----------------------
  Learner          : ranger
  TrainLayer       : geneexpr
  Package          : ranger
  Learn function   : ranger
  
  Train data info.      
  -----------------------
  TrainData : geneexpr
  Layer     : geneexpr
  ind. id.  : IDS
  target    : disease
  n         : 50
  Missing   : 0
  p         : 131
  TrainLayer            : geneexpr
  Status                : Not trained
  Empty layer.
  TrainData : methylation
  Layer     : methylation
  ind. id.  : IDS
  target    : disease
  n         : 50
  Missing   : 0
  p         : 367
     Layer geneexpr
     ----------------
     TrainLayer            : geneexpr
     Status                : Not trained
     Empty layer.
     ----------------
     Object(s) on layer geneexpr
  
        Empty layer
     Layer geneexpr
     ----------------
     TrainLayer            : geneexpr
     Status                : Not trained
     Nb. of objects stored : 3
     ----------------
     Object(s) on layer geneexpr
  
        ----------------
        Learner          : ranger
        TrainLayer       : geneexpr
        Package          : ranger
        Learn function   : ranger
        ----------------
  
        ----------------
        VarSel           : varsel_geneexpr
        TrainLayer       : geneexpr
        Package          : Boruta
        Function         : Boruta
        ----------------
  
        ----------------
        TrainData : geneexpr
        Layer      : geneexpr
        Ind. id.   : IDS
        Target     : disease
        n          : 50
        Missing    : 0
        p          : 131
        ----------------
  
  Training of base model on layer geneexpr started.
  
  Training of base model on layer geneexpr done.
  
     Layer geneexpr
     ----------------
     TrainLayer            : geneexpr
     Status                : Trained
     Nb. of objects stored : 4
     ----------------
     Object(s) on layer geneexpr
  
        ----------------
        Learner          : ranger
        TrainLayer       : geneexpr
        Package          : ranger
        Learn function   : ranger
        ----------------
  
        ----------------
        VarSel           : varsel_geneexpr
        TrainLayer       : geneexpr
        Package          : Boruta
        Function         : Boruta
        ----------------
  
        ----------------
        TrainData : geneexpr
        Layer      : geneexpr
        Ind. id.   : IDS
        Target     : disease
        n          : 50
        Missing    : 0
        p          : 131
        ----------------
  
  TrainMetaLayer    : meta
  Status            : Not trained
  Empty layer.
     MetaLayer
     ----------------
     TrainMetaLayer    : meta
     Status            : Not trained
     Empty layer.
  
     ----------------
     Object(s) on MetaLayer
  
        Empty layer
  Training        : training
  Problem type    : classification
  Status          : Not trained
  Number of layers: 0
  Layers trained  : 0
  Variable selection on layer geneexpr started.
  
  Variable selection on layer geneexpr done.
  
       Layer variable
  1 geneexpr     BRAF
  2 geneexpr    PEA15
  3 geneexpr     SHC1
  VarSel           : varsel_geneexpr
  TrainLayer       : geneexpr
  Package          : Boruta
  Function         : Boruta
  Tuning 'epsilon' via cross-validation with 5 folds.
  Saving _problems/test-cobra-11.R
  Tuning 'alpha' and 'epsilon' via cross-validation with 5 folds.
  Saving _problems/test-cobra-20.R
  Using user-defined 'epsilon' = 0.1.
  Tuning 'epsilon' via cross-validation with 10 folds.
  Tuning 'epsilon' via cross-validation with 10 folds.
  Tuning 'epsilon' via cross-validation with 10 folds.
  Tuning 'epsilon' via cross-validation with 10 folds.
  Tuning 'epsilon' via cross-validation with 10 folds.
  Tuning 'epsilon' via cross-validation with 10 folds.
  Saving _problems/test-cobra-132.R
  Tuning 'alpha' and 'epsilon' via cross-validation with 10 folds.
  Saving _problems/test-cobra-141.R
  [ FAIL 4 | WARN 1 | SKIP 3 | PASS 169 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • On CRAN (2): 'test-TrainMetaLayer.R:60:5', 'test-VarSel.R:45:5'
  • {caret} is not installed. (1): 'test-Training.R:183:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-cobra.R:4:3'): cobra works ───────────────────────────────────
  Expected `{ ... }` not to throw any errors.
  Actually got a <packageNotFoundError> with message:
    there is no package called 'caret'
  ── Failure ('test-cobra.R:13:3'): cobra works ──────────────────────────────────
  Expected `{ ... }` not to throw any errors.
  Actually got a <packageNotFoundError> with message:
    there is no package called 'caret'
  ── Failure ('test-cobra.R:125:3'): cobra works ─────────────────────────────────
  Expected `{ ... }` not to throw any errors.
  Actually got a <packageNotFoundError> with message:
    there is no package called 'caret'
  ── Failure ('test-cobra.R:134:3'): cobra works ─────────────────────────────────
  Expected `{ ... }` not to throw any errors.
  Actually got a <packageNotFoundError> with message:
    there is no package called 'caret'
  
  [ FAIL 4 | WARN 1 | SKIP 3 | PASS 169 ]
  Error:
  ! Test failures.
  Execution halted