Running ‘testthat.R’ [47s/80s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RGCCA)
  > 
  > test_check("RGCCA")
  [ FAIL 1 | WARN 0 | SKIP 49 | PASS 862 ]
  
  ══ Skipped tests (49) ══════════════════════════════════════════════════════════
  • On CRAN (6): 'test_print_call.R:11:3', 'test_print_call.R:24:3',
    'test_print_comp.R:10:3', 'test_print_comp.R:19:3', 'test_print_comp.R:28:3',
    'test_print_comp.R:37:3'
  • as.logical(Sys.getenv("TEST_SNAPSHOTS")) is not TRUE (42):
    'test_plot.rgcca.r:27:3', 'test_plot.rgcca.r:36:3', 'test_plot.rgcca.r:47:3',
    'test_plot.rgcca.r:55:3', 'test_plot.rgcca.r:65:3', 'test_plot.rgcca.r:72:3',
    'test_plot.rgcca.r:79:3', 'test_plot.rgcca.r:86:3', 'test_plot.rgcca.r:93:3',
    'test_plot.rgcca.r:100:3', 'test_plot.rgcca.r:109:3',
    'test_plot.rgcca_bootstrap.R:30:3', 'test_plot.rgcca_bootstrap.R:37:3',
    'test_plot.rgcca_cv.R:22:3', 'test_plot.rgcca_cv.R:29:3',
    'test_plot.rgcca_cv.R:36:3', 'test_plot.rgcca_permutation.r:23:3',
    'test_plot.rgcca_permutation.r:30:3', 'test_plot.rgcca_permutation.r:38:3',
    'test_plot.rgcca_permutation.r:49:3', 'test_plot.rgcca_stability.R:16:3',
    'test_print.rgcca.R:10:3', 'test_print.rgcca.R:19:3',
    'test_print.rgcca_bootstrap.R:13:3', 'test_print.rgcca_cv.R:17:3',
    'test_print.rgcca_cv.R:30:3', 'test_print.rgcca_permutation.R:17:3',
    'test_print.rgcca_stability.R:13:3', 'test_summary.rgcca.r:11:3',
    'test_summary.rgcca.r:20:3', 'test_summary.rgcca.r:30:3',
    'test_summary.rgcca.r:39:3', 'test_summary.rgcca.r:49:3',
    'test_summary.rgcca_bootstrap.r:12:3', 'test_summary.rgcca_bootstrap.r:21:3',
    'test_summary.rgcca_cv.R:17:3', 'test_summary.rgcca_cv.R:30:3',
    'test_summary.rgcca_cv.R:43:3', 'test_summary.rgcca_cv.R:56:3',
    'test_summary.rgcca_permutation.R:12:3',
    'test_summary.rgcca_permutation.R:24:3',
    'test_summary.rgcca_stability.R:13:3'
  • gliomaData cannot be loaded (1): 'test_rgcca_predict.r:54:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_rgcca.R:203:1'): (code run outside of `test_that()`) ───────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'FactoMineR'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test_rgcca.R:203:0
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 1 | WARN 0 | SKIP 49 | PASS 862 ]
  Error: Test failures
  Execution halted