R Under development (unstable) (2024-08-19 r87028 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. > # 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(arlclustering) > > test_check("arlclustering") Loading required package: Matrix Attaching package: 'arules' The following objects are masked from 'package:base': abbreviate, write Apriori Parameter specification: confidence minval smax arem aval originalSupport maxtime support minlen 0.5 0.1 1 none FALSE TRUE 5 0.1 1 maxlen target ext 66 rules TRUE Algorithmic control: filter tree heap memopt load sort verbose 0.1 TRUE TRUE FALSE TRUE 2 TRUE Absolute minimum support count: 2 set item appearances ...[0 item(s)] done [0.00s]. set transactions ...[34 item(s), 28 transaction(s)] done [0.00s]. sorting and recoding items ... [22 item(s)] done [0.00s]. creating transaction tree ... done [0.00s]. checking subsets of size 1 2 3 4 done [0.00s]. writing ... [66 rule(s)] done [0.00s]. creating S4 object ... done [0.00s]. Significant rule set is the same as the redundant rule set... Attaching package: 'igraph' The following object is masked from 'package:arules': union The following object is masked from 'package:testthat': compare The following objects are masked from 'package:stats': decompose, spectrum The following object is masked from 'package:base': union Apriori Parameter specification: confidence minval smax arem aval originalSupport maxtime support minlen 0.5 0.1 1 none FALSE TRUE 5 0.1 1 maxlen target ext 66 rules TRUE Algorithmic control: filter tree heap memopt load sort verbose 0.1 TRUE TRUE FALSE TRUE 2 TRUE Absolute minimum support count: 2 set item appearances ...[0 item(s)] done [0.00s]. set transactions ...[34 item(s), 28 transaction(s)] done [0.00s]. sorting and recoding items ... [22 item(s)] done [0.00s]. creating transaction tree ... done [0.00s]. checking subsets of size 1 2 3 4 done [0.00s]. writing ... [66 rule(s)] done [0.00s]. creating S4 object ... done [0.00s]. Significant rule set is the same as the redundant rule set...Total Identified Clusters: 12 ========================= Community 01 : 1 2 3 4 8 14 Community 02 : 2 3 4 8 9 14 Community 03 : 3 4 8 14 31 32 34 Community 04 : 5 6 Community 05 : 7 11 Community 06 : 9 14 32 33 Community 07 : 14 20 Community 08 : 24 32 34 Community 09 : 28 33 Community 10 : 29 33 Community 11 : 30 34 Community 12 : 33 34 ========================= Apriori Parameter specification: confidence minval smax arem aval originalSupport maxtime support minlen 0.5 0.1 1 none FALSE TRUE 5 0.1 1 maxlen target ext 66 rules TRUE Algorithmic control: filter tree heap memopt load sort verbose 0.1 TRUE TRUE FALSE TRUE 2 TRUE Absolute minimum support count: 2 set item appearances ...[0 item(s)] done [0.00s]. set transactions ...[34 item(s), 28 transaction(s)] done [0.00s]. sorting and recoding items ... [22 item(s)] done [0.00s]. creating transaction tree ... done [0.00s]. checking subsets of size 1 2 3 4 done [0.00s]. writing ... [66 rule(s)] done [0.00s]. creating S4 object ... done [0.00s]. Apriori Parameter specification: confidence minval smax arem aval originalSupport maxtime support minlen 0.5 0.1 1 none FALSE TRUE 5 0.1 1 maxlen target ext 66 rules TRUE Algorithmic control: filter tree heap memopt load sort verbose 0.1 TRUE TRUE FALSE TRUE 2 TRUE Absolute minimum support count: 2 set item appearances ...[0 item(s)] done [0.00s]. set transactions ...[34 item(s), 28 transaction(s)] done [0.00s]. sorting and recoding items ... [22 item(s)] done [0.00s]. creating transaction tree ... done [0.00s]. checking subsets of size 1 2 3 4 done [0.00s]. writing ... [66 rule(s)] done [0.00s]. creating S4 object ... done [0.00s]. Significant rule set is the same as the redundant rule set...Apriori Parameter specification: confidence minval smax arem aval originalSupport maxtime support minlen 0.5 0.1 1 none FALSE TRUE 5 0.1 1 maxlen target ext 66 rules TRUE Algorithmic control: filter tree heap memopt load sort verbose 0.1 TRUE TRUE FALSE TRUE 2 TRUE Absolute minimum support count: 2 set item appearances ...[0 item(s)] done [0.00s]. set transactions ...[34 item(s), 28 transaction(s)] done [0.00s]. sorting and recoding items ... [22 item(s)] done [0.00s]. creating transaction tree ... done [0.00s]. checking subsets of size 1 2 3 4 done [0.00s]. writing ... [66 rule(s)] done [0.00s]. creating S4 object ... done [0.00s]. Apriori Parameter specification: confidence minval smax arem aval originalSupport maxtime support minlen 0.5 0.1 1 none FALSE TRUE 5 0.1 1 maxlen target ext 66 rules TRUE Algorithmic control: filter tree heap memopt load sort verbose 0.1 TRUE TRUE FALSE TRUE 2 TRUE Absolute minimum support count: 2 set item appearances ...[0 item(s)] done [0.00s]. set transactions ...[34 item(s), 28 transaction(s)] done [0.00s]. sorting and recoding items ... [22 item(s)] done [0.00s]. creating transaction tree ... done [0.00s]. checking subsets of size 1 2 3 4 done [0.00s]. writing ... [66 rule(s)] done [0.00s]. creating S4 object ... done [0.00s]. Significant rule set is the same as the redundant rule set...Apriori Parameter specification: confidence minval smax arem aval originalSupport maxtime support minlen 0.5 0.1 1 none FALSE TRUE 5 0.1 1 maxlen target ext 10 rules TRUE Algorithmic control: filter tree heap memopt load sort verbose 0.1 TRUE TRUE FALSE TRUE 2 TRUE Absolute minimum support count: 2 set item appearances ...[0 item(s)] done [0.00s]. set transactions ...[34 item(s), 28 transaction(s)] done [0.00s]. sorting and recoding items ... [22 item(s)] done [0.00s]. creating transaction tree ... done [0.00s]. checking subsets of size 1 2 3 4 done [0.00s]. writing ... [66 rule(s)] done [0.00s]. creating S4 object ... done [0.00s]. Elapsed time: 1.0252 [ FAIL 1 | WARN 6 | SKIP 1 | PASS 79 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • empty test (1): 'test-arlc_get_significant_rules.R:40:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-arlc_get_network_dataset.R:54:3'): arlc_get_network_dataset handles unreadable files correctly ── Error in `value[[3L]](cond)`: Error in reading GML file: D:\temp\RtmpgriD5n\filec68c717836a6 At vendor/cigraph/src/io/gml.c:486 : No 'graph' object in GML file. Parse error Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-arlc_get_network_dataset.R:54:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─arlclustering::arlc_get_network_dataset(temp_file, "Unreadable File") 8. └─base::tryCatch(...) 9. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. └─value[[3L]](cond) [ FAIL 1 | WARN 6 | SKIP 1 | PASS 79 ] Error: Test failures Execution halted