Running ‘testthat.R’ [13s/151s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(BioInstaller)
  > 
  > 
  > test_check("BioInstaller")
  cloning into '/tmp/RtmpYZymfv/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.
  cloning into '/tmp/RtmpYZymfv/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 'https://raw.githubusercontent.com/Miachol/ftp/master/files/GRCh37_MT_ensGene.txt'
  Content type 'text/plain; charset=utf-8' length 3131 bytes
  ==================================================
  downloaded 3131 bytes
  
  trying URL 'https://raw.githubusercontent.com/Miachol/ftp/master/files/GRCh37_MT_ensGene.txt'
  Content type 'text/plain; charset=utf-8' length 3131 bytes
  ==================================================
  downloaded 3131 bytes
  
  trying URL 'https://raw.githubusercontent.com/Miachol/ftp/master/files/GRCh37_MT_ensGene.txt'
  Content type 'text/plain; charset=utf-8' length 3131 bytes
  ==================================================
  downloaded 3131 bytes
  
  cloning into '/tmp/RtmpYZymfv/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.
  cloning into '/tmp/RtmpYZymfv/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.
  cloning into '/tmp/RtmpYZymfv/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.
  /tmp/RtmpYZymfv/destdir.initial not empty, overwrite?[y]
  Please input y/n/Y/N!
  /tmp/RtmpYZymfv/destdir.initial not empty, overwrite?[y]
  Please input y/n/Y/N!
  /tmp/RtmpYZymfv/destdir.initial not empty, overwrite?[y]
  More than 3 counts input, default is not to overwrite.
  /tmp/RtmpYZymfv/destdir.initial existed, overwrite?[y]
  Please input y/n/Y/N!
  /tmp/RtmpYZymfv/destdir.initial existed, overwrite?[y]
  Please input y/n/Y/N!
  /tmp/RtmpYZymfv/destdir.initial existed, overwrite?[y]
  More than 3 counts input, default is not to overwrite.
  ── 1. Error: download.file.custom is.dir (@test_utils.R#138)  ──────────────────
  Failed to connect to ftp.sjtu.edu.cn port 21: Connection timed out
  1: download.file.custom(url, tempdir(), TRUE) at testthat/test_utils.R:138
  2: getURL(url, ftp.use.epsv = FALSE, dirlistonly = TRUE)
  3: curlPerform(curl = curl, .opts = opts, .encoding = .encoding)
  4: function (type, msg, asError = TRUE) 
     {
         if (!is.character(type)) {
             i = match(type, CURLcodeValues)
             typeName = if (is.na(i)) 
                 character()
             else names(CURLcodeValues)[i]
         }
         typeName = gsub("^CURLE_", "", typeName)
         fun = (if (asError) 
             stop
         else warning)
         fun(structure(list(message = msg, call = sys.call()), class = c(typeName, "GenericCurlError", 
             "error", "condition")))
     }(7L, "Failed to connect to ftp.sjtu.edu.cn port 21: Connection timed out", TRUE)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 68 SKIPPED: 0 FAILED: 1
  1. Error: download.file.custom is.dir (@test_utils.R#138) 
  
  Error: testthat unit tests failed
  Execution halted