Running ‘testthat.R’ [0m/16m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(BioInstaller)
  > 
  > 
  > test_check("BioInstaller")
  cloning into '/tmp/RtmpbBai.x/github_demo0'...
  Receiving objects:  16% (1/6),    0 kb
  Receiving objects:  33% (2/6),    0 kb
  Receiving objects:  50% (3/6),    0 kb
  Receiving objects:  66% (4/6),    0 kb
  Receiving objects:  83% (5/6),    0 kb
  Receiving objects: 100% (6/6),    0 kb, done.
  successful!
  cloning into '/tmp/RtmpbBai.x/github_demo2'...
  Receiving objects:  16% (1/6),    0 kb
  Receiving objects:  33% (2/6),    0 kb
  Receiving objects:  50% (3/6),    0 kb
  Receiving objects:  66% (4/6),    0 kb
  Receiving objects:  83% (5/6),    0 kb
  Receiving objects: 100% (6/6),    0 kb, done.
  trying URL 'http://bioinfo.rjh.com.cn/download/annovarR/humandb/GRCh37_MT_ensGene.txt'
  1. Failure: install.nongithub (@test_install.R#38) -----------------------------
  `x` not equal to TRUE.
  1 element mismatch
  
  
  trying URL 'http://bioinfo.rjh.com.cn/download/annovarR/humandb/GRCh37_MT_ensGene.txt'
  2. Failure: install.nongithub (@test_install.R#42) -----------------------------
  as.logical(x) not equal to TRUE.
  1 element mismatch
  
  
  trying URL 'http://bioinfo.rjh.com.cn/download/annovarR/humandb/GRCh37_MT_ensGene.txt'
  3. Failure: install.bioinfo (@test_install.R#50) -------------------------------
  "demo" %in% x$success.list not equal to TRUE.
  1 element mismatch
  
  
  cloning into '/tmp/RtmpbBai.x/github_demo3'...
  Receiving objects:  16% (1/6),    0 kb
  Receiving objects:  33% (2/6),    0 kb
  Receiving objects:  50% (3/6),    0 kb
  Receiving objects:  66% (4/6),    0 kb
  Receiving objects:  83% (5/6),    0 kb
  Receiving objects: 100% (6/6),    0 kb, done.
  successful!
  cloning into '/tmp/RtmpbBai.x/github_demo'...
  Receiving objects:  16% (1/6),    0 kb
  Receiving objects:  33% (2/6),    0 kb
  Receiving objects:  50% (3/6),    0 kb
  Receiving objects:  66% (4/6),    0 kb
  Receiving objects:  83% (5/6),    0 kb
  Receiving objects: 100% (6/6),    0 kb, done.
  successful!
  cloning into '/tmp/RtmpbBai.x/denpendence1'...
  Receiving objects:  16% (1/6),    0 kb
  Receiving objects:  33% (2/6),    0 kb
  Receiving objects:  50% (3/6),    0 kb
  Receiving objects:  66% (4/6),    0 kb
  Receiving objects:  83% (5/6),    0 kb
  Receiving objects: 100% (6/6),    0 kb, done.
  4. Error: download.file.custom (@test_utils.R#104) -----------------------------
  cannot open URL 'http://bioinfo.rjh.com.cn/download/annovarR/humandb/GRCh37_MT_ensGene.txt'
  1: download.file.custom(url, destfile, quiet = T) at testthat/test_utils.R:104
  2: download.file(url = url, destfile = destfile, ...)
  
  /tmp/RtmpbBai.x/destdir.initial not empty, overwrite?[y]
  Please input y/n/Y/N!
  /tmp/RtmpbBai.x/destdir.initial not empty, overwrite?[y]
  Please input y/n/Y/N!
  /tmp/RtmpbBai.x/destdir.initial not empty, overwrite?[y]
  More than 3 counts input, default is not to overwrite.
  /tmp/RtmpbBai.x/destdir.initial existed, overwrite?[y]
  Please input y/n/Y/N!
  /tmp/RtmpbBai.x/destdir.initial existed, overwrite?[y]
  Please input y/n/Y/N!
  /tmp/RtmpbBai.x/destdir.initial existed, overwrite?[y]
  More than 3 counts input, default is not to overwrite.
  trying URL 'ftp://ftp.sjtu.edu.cn/pub/CPAN/clpa//README'
  Content type 'unknown' length 107 bytes
  ==================================================
  trying URL 'ftp://ftp.sjtu.edu.cn/pub/CPAN/clpa//index.html'
  Content type 'unknown' length 3574 bytes
  ==================================================
  testthat results ================================================================
  OK: 59 SKIPPED: 0 FAILED: 4
  1. Failure: install.nongithub (@test_install.R#38) 
  2. Failure: install.nongithub (@test_install.R#42) 
  3. Failure: install.bioinfo (@test_install.R#50) 
  4. Error: download.file.custom (@test_utils.R#104) 
  
  Error: testthat unit tests failed
  Execution halted