Running ‘testthat.R’ [7s/338s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(BioInstaller)
  > 
  > 
  > test_check("BioInstaller")
  1. Error: install.github (@test_install.R#10) ----------------------------------
  Operation timed out after 300151 milliseconds with 0 out of 0 bytes received
  1: install.github(name = "github_demo", destdir = destdir, download.dir = destdir, verbose = F) at testthat/test_install.R:10
  2: show.avaliable.versions(config, name)
  3: get.github.version(config)
  4: github2versions(config$github_url)
  5: getURL(url, headerfunction = h$update, httpheader = myheader)
  6: curlPerform(curl = curl, .opts = opts, .encoding = .encoding)
  7: 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")))
     }(28L, "Operation timed out after 300151 milliseconds with 0 out of 0 bytes received", 
         TRUE)
  
  trying URL 'https://github.com/Miachol/ftp/blob/master/files/GRCh37_MT_ensGene.txt'
  downloaded 40 KB
  
  successful!
  trying URL 'https://github.com/Miachol/ftp/blob/master/files/GRCh37_MT_ensGene.txt'
  downloaded 40 KB
  
  trying URL 'https://github.com/Miachol/ftp/blob/master/files/GRCh37_MT_ensGene.txt'
  downloaded 40 KB
  
  successful!
  cloning into '/tmp/RtmpGhFCRJ/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/RtmpGhFCRJ/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/RtmpGhFCRJ/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/RtmpGhFCRJ/destdir.initial not empty, overwrite?[y]
  Please input y/n/Y/N!
  /tmp/RtmpGhFCRJ/destdir.initial not empty, overwrite?[y]
  Please input y/n/Y/N!
  /tmp/RtmpGhFCRJ/destdir.initial not empty, overwrite?[y]
  More than 3 counts input, default is not to overwrite.
  /tmp/RtmpGhFCRJ/destdir.initial existed, overwrite?[y]
  Please input y/n/Y/N!
  /tmp/RtmpGhFCRJ/destdir.initial existed, overwrite?[y]
  Please input y/n/Y/N!
  /tmp/RtmpGhFCRJ/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: 57 SKIPPED: 0 FAILED: 1
  1. Error: install.github (@test_install.R#10) 
  
  Error: testthat unit tests failed
  Execution halted