Running ‘testthat.R’ [60s/70s]
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(CMTFtoolbox)
  > 
  > test_check("CMTFtoolbox")
  Saving _problems/test-ACMTFR_modelSelection-13.R
  Saving _problems/test-ACMTFR_modelSelection-28.R
  Saving _problems/test-ACMTFR_modelSelection-43.R
  Saving _problems/test-ACMTF_modelSelection-12.R
  Saving _problems/test-ACMTF_modelSelection-26.R
  [ FAIL 5 | WARN 0 | SKIP 5 | PASS 129 ]
  
  ══ Skipped tests (5) ═══════════════════════════════════════════════════════════
  • On CRAN (5): 'test-ACMTFR_modelSelection.R:47:3',
    'test-ACMTF_modelSelection.R:30:3', 'test-acmtf_opt.R:97:3',
    'test-acmtfr_opt.R:101:3', 'test-cmtf_opt.R:136:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-ACMTFR_modelSelection.R:13:3'): the function works normally ──
  Expected `ACMTFR_modelSelection(...)` not to throw any errors.
  Actually got a <packageNotFoundError> with message:
    there is no package called 'ggpubr'
  ── Failure ('test-ACMTFR_modelSelection.R:28:3'): the function works for the tensor-matrix case ──
  Expected `ACMTFR_modelSelection(...)` not to throw any errors.
  Actually got a <packageNotFoundError> with message:
    there is no package called 'ggpubr'
  ── Failure ('test-ACMTFR_modelSelection.R:43:3'): the function works when jack-knifing ──
  Expected `ACMTFR_modelSelection(...)` not to throw any errors.
  Actually got a <packageNotFoundError> with message:
    there is no package called 'ggpubr'
  ── Failure ('test-ACMTF_modelSelection.R:12:3'): the function works normally ───
  Expected `ACMTF_modelSelection(...)` not to throw any errors.
  Actually got a <packageNotFoundError> with message:
    there is no package called 'ggpubr'
  ── Failure ('test-ACMTF_modelSelection.R:26:3'): the function works when jack-knifing ──
  Expected `ACMTF_modelSelection(...)` not to throw any errors.
  Actually got a <packageNotFoundError> with message:
    there is no package called 'ggpubr'
  
  [ FAIL 5 | WARN 0 | SKIP 5 | PASS 129 ]
  Error:
  ! Test failures.
  Execution halted