Running ‘testthat.R’ [55s/77s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(wsyn)
  
  Attaching package: 'wsyn'
  
  The following object is masked from 'package:stats':
  
      power
  
  > 
  > test_check("wsyn")
  ── 1. Failure: test print.clust (@tests_clust_methods.R#18)  ───────────────────
  capture_output(print(res)) not equal to "clust object:\ntimes, a length 50 numeric vector:\n1 2 3 4 5 ... 46 47 48 49 50 \nNumber of sampling locations: 10 \nmethodspecs:\nmethod=coh.sig.fast; tsrange=0 to Inf; nsurrogs=100; weighted=TRUE; sigthresh=0.95;\nscale.min=2; scale.max.input=NULL; sigma=1.05; f0=1\nadj has 88 of 90 off-diagonal entries differing from 0; values range from 0 to 0.990099 \nNumber of splitting steps done: 1 \nNumber of modules in final decomposition: 2 \nModularity values for each step: 4.19972005569816e-17 0.122970506592103 \nThe wmfs slot is: empty\nThe wpmfs slot is: empty".
  1/1 mismatches
  x[1]: "clust object:\ntimes, a length 50 numeric vector:\n1 2 3 4 5 ... 46 47 48
  x[1]:  49 50 \nNumber of sampling locations: 10 \nmethodspecs:\nmethod=coh.sig.f
  x[1]: ast; tsrange=0 to Inf; nsurrogs=100; weighted=TRUE; sigthresh=0.95;\nscale
  x[1]: .min=2; scale.max.input=NULL; sigma=1.05; f0=1\nadj has 88 of 90 off-diago
  x[1]: nal entries differing from 0; values range from 0 to 0.990099 \nNumber ...
  y[1]: "clust object:\ntimes, a length 50 numeric vector:\n1 2 3 4 5 ... 46 47 48
  y[1]:  49 50 \nNumber of sampling locations: 10 \nmethodspecs:\nmethod=coh.sig.f
  y[1]: ast; tsrange=0 to Inf; nsurrogs=100; weighted=TRUE; sigthresh=0.95;\nscale
  y[1]: .min=2; scale.max.input=NULL; sigma=1.05; f0=1\nadj has 88 of 90 off-diago
  y[1]: nal entries differing from 0; values range from 0 to 0.990099 \nNumber ...
  
  ── 2. Failure: test print.clust (@tests_clust_methods.R#21)  ───────────────────
  capture_output(print(res)) not equal to "clust object:\ntimes, a length 50 numeric vector:\n1 2 3 4 5 ... 46 47 48 49 50 \nNumber of sampling locations: 10 \nmethodspecs:\nmethod=coh.sig.fast; tsrange=0 to Inf; nsurrogs=100; weighted=TRUE; sigthresh=0.95;\nscale.min=2; scale.max.input=NULL; sigma=1.05; f0=1\nadj has 88 of 90 off-diagonal entries differing from 0; values range from 0 to 0.990099 \nNumber of splitting steps done: 1 \nNumber of modules in final decomposition: 2 \nModularity values for each step: 4.19972005569816e-17 0.122970506592103 \nThe wmfs slot is: filled\nThe wpmfs slot is: empty".
  1/1 mismatches
  x[1]: "clust object:\ntimes, a length 50 numeric vector:\n1 2 3 4 5 ... 46 47 48
  x[1]:  49 50 \nNumber of sampling locations: 10 \nmethodspecs:\nmethod=coh.sig.f
  x[1]: ast; tsrange=0 to Inf; nsurrogs=100; weighted=TRUE; sigthresh=0.95;\nscale
  x[1]: .min=2; scale.max.input=NULL; sigma=1.05; f0=1\nadj has 88 of 90 off-diago
  x[1]: nal entries differing from 0; values range from 0 to 0.990099 \nNumber ...
  y[1]: "clust object:\ntimes, a length 50 numeric vector:\n1 2 3 4 5 ... 46 47 48
  y[1]:  49 50 \nNumber of sampling locations: 10 \nmethodspecs:\nmethod=coh.sig.f
  y[1]: ast; tsrange=0 to Inf; nsurrogs=100; weighted=TRUE; sigthresh=0.95;\nscale
  y[1]: .min=2; scale.max.input=NULL; sigma=1.05; f0=1\nadj has 88 of 90 off-diago
  y[1]: nal entries differing from 0; values range from 0 to 0.990099 \nNumber ...
  
  ── 3. Failure: test summary.clust and the print method for the summary_wsyn clas
  capture_output(print(h)) not equal to "class: clust\ntimes_start: 1\ntimes_end: 50\ntimes_increment: 1\nsampling_locs: 10\nmethod: coh.sig.fast\ntsrange1: 0\ntsrange2: Inf\nnsurrogs: 100\nweighted: TRUE\nsigthresh: 0.95\nscale.min: 2\nscale.max.input: NULL\nsigma: 1.05\nf0: 1\nnum_split_steps: 1\nnum_final_modules: 2\nfinal_modularity: 0.1229705\nwmf_slot_is: empty\nwpmf_slot_is: empty".
  1/1 mismatches
  x[1]: "class: clust\ntimes_start: 1\ntimes_end: 50\ntimes_increment: 1\nsampling
  x[1]: _locs: 10\nmethod: coh.sig.fast\ntsrange1: 0\ntsrange2: Inf\nnsurrogs: 100
  x[1]: \nweighted: TRUE\nsigthresh: 0.95\nscale.min: 2\nscale.max.input: NULL\nsi
  x[1]: gma: 1.05\nf0: 1\nnum_split_steps: 1\nnum_final_modules: 2\nfinal_modulari
  x[1]: ty: 0.1245299\nwmf_slot_is: empty\nwpmf_slot_is: empty"
  y[1]: "class: clust\ntimes_start: 1\ntimes_end: 50\ntimes_increment: 1\nsampling
  y[1]: _locs: 10\nmethod: coh.sig.fast\ntsrange1: 0\ntsrange2: Inf\nnsurrogs: 100
  y[1]: \nweighted: TRUE\nsigthresh: 0.95\nscale.min: 2\nscale.max.input: NULL\nsi
  y[1]: gma: 1.05\nf0: 1\nnum_split_steps: 1\nnum_final_modules: 2\nfinal_modulari
  y[1]: ty: 0.1229705\nwmf_slot_is: empty\nwpmf_slot_is: empty"
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 932 SKIPPED: 19 FAILED: 3
  1. Failure: test print.clust (@tests_clust_methods.R#18) 
  2. Failure: test print.clust (@tests_clust_methods.R#21) 
  3. Failure: test summary.clust and the print method for the summary_wsyn class (@tests_clust_methods.R#66) 
  
  Error: testthat unit tests failed
  Execution halted