R Under development (unstable) (2024-05-12 r86534 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 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. > library("testthat") > library("nnTensor") > library("rTensor") > > options(testthat.use_colours = FALSE) > > # Basic usage > test_file("testthat/test_toyModel.R") ══ Testing test_toyModel.R ═════════════════════════════════════════════════════ [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 2 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 3 ] Done! > test_file("testthat/test_NMF.R") ══ Testing test_NMF.R ══════════════════════════════════════════════════════════ [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 2 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 3 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 4 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 5 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 6 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 7 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 8 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 9 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 10 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 11 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 12 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 13 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 14 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 15 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 16 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 17 ] Done! > test_file("testthat/test_NMTF.R") ══ Testing test_NMTF.R ═════════════════════════════════════════════════════════ [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 2 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 3 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 4 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 5 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 6 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 7 ] Done! > test_file("testthat/test_siNMF.R") ══ Testing test_siNMF.R ════════════════════════════════════════════════════════ [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 2 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 3 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 4 ] Done! > test_file("testthat/test_jNMF.R") ══ Testing test_jNMF.R ═════════════════════════════════════════════════════════ [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 2 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 3 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 4 ] Done! > test_file("testthat/test_NTF.R") ══ Testing test_NTF.R ══════════════════════════════════════════════════════════ [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 2 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 3 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 4 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 5 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 6 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 7 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 8 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 9 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 10 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 11 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 12 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 13 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 14 ] Done! > test_file("testthat/test_NTD.R") ══ Testing test_NTD.R ══════════════════════════════════════════════════════════ [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 2 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 3 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 4 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 5 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 6 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 7 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 8 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 9 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 10 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 11 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 12 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 13 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 14 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 15 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 16 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 17 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 18 ] Done! > test_file("testthat/test_plotTensor2D.R") ══ Testing test_plotTensor2D.R ═════════════════════════════════════════════════ [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done! > test_file("testthat/test_plotTensor3D.R") ══ Testing test_plotTensor3D.R ═════════════════════════════════════════════════ [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done! > test_file("testthat/test_recTensor.R") ══ Testing test_recTensor.R ════════════════════════════════════════════════════ [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 2 ] Done! > test_file("testthat/test_kFoldMaskTensor.R") ══ Testing test_kFoldMaskTensor.R ══════════════════════════════════════════════ [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 2 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 3 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 4 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 5 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 6 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 7 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 8 ] [ FAIL 0 | WARN 0 | SKIP 0 | PASS 9 ] Done! > > # # Gabriel-type rank estimation for NMF > # test_file("testthat/test_GabrielNMF.R") > > # # Rank estimation for NMF > # test_file("testthat/test_NMF_rankestimation.R") > > # # Mask matrix/tensor for imputation > # test_file("testthat/test_mask_NMF.R") > # test_file("testthat/test_mask_NMTF.R") > # test_file("testthat/test_mask_siNMF.R") > # test_file("testthat/test_mask_jNMF.R") > # test_file("testthat/test_mask_NTF.R") > # test_file("testthat/test_mask_NTD.R") > > # # NA avoidance > # test_file("testthat/test_NA_NMF.R") > # test_file("testthat/test_NA_NMTF.R") > # test_file("testthat/test_NA_siNMF.R") > # test_file("testthat/test_NA_jNMF.R") > # test_file("testthat/test_NA_NTF.R") > # test_file("testthat/test_NA_NTD.R") > > # # Initialization > # test_file("testthat/test_init_NMF.R") > # test_file("testthat/test_init_NMTF.R") > # test_file("testthat/test_init_siNMF.R") > # test_file("testthat/test_init_jNMF.R") > # test_file("testthat/test_init_NTF.R") > # test_file("testthat/test_init_NTD.R") > > # # Fix options for transfer learning > # test_file("testthat/test_fix_NMF.R") > # test_file("testthat/test_fix_NMTF.R") > # test_file("testthat/test_fix_siNMF.R") > # test_file("testthat/test_fix_jNMF.R") > # test_file("testthat/test_fix_NTF.R") > # test_file("testthat/test_fix_NTD.R") > > proc.time() user system elapsed 160.59 30.26 190.89