Running ‘testthat.R’ [53s/73s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(netgwas)
  > 
  > test_check("netgwas")
  Constructing linkage map is in progress ... 
   
  Constructing linkage map is done.             
  ── 1. Failure: buildMap construction method works  (@test_buildMap.R#10)  ──────
  bm$map$markers not equal to structure(...).
  16 string mismatches
  
  Constructing linkage map is in progress ... 
   
  Constructing linkage map is done.             
  ── 2. Failure: npn map construction method works  (@test_netmap.R#9)  ──────────
  M1$map not equal to structure(...).
  Component "markers": 30 string mismatches
  
  Constructing linkage map is in progress:100% 
  Constructing linkage map is done.             
  Constructing linkage map is in progress:100% 
  Constructing linkage map is done.             
  Reconstructing genotype-phenotypes networks is in progress ... 
   
  Reconstructing genotype-phenotype networks done. 
   
  Reconstructing genotype-phenotypes networks is in progress ... :100% 
  Reconstructing genotype-phenotypes networks done.  
  Reconstructing intra- and inter- chromosomal interactions network is in progress ... 
   
  Reconstructing intra- and inter- chromosomal interactions network done. 
   
  Reconstructing inta- and inter- chromosomal interactions network is in progress:100% 
  Reconstructing inta- and inter- chromosomal interactions network done.    
  Reconstructing inta- and inter- chromosomal interactions network is in progress:100% 
  Reconstructing inta- and inter- chromosomal interactions network done.    
  Reconstructing intra- and inter- chromosomal interactions network is in progress ... 
   
  Reconstructing intra- and inter- chromosomal interactions network done. 
   
  Calculating extended Bayesian information criterion (ebic) selection ...done.
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 130 SKIPPED: 0 FAILED: 2
  1. Failure: buildMap construction method works  (@test_buildMap.R#10) 
  2. Failure: npn map construction method works  (@test_netmap.R#9) 
  
  Error: testthat unit tests failed
  Execution halted