Running 'testthat.R' [32s]
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)  ------------------------------
  error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
  1: install.github(name = "github_demo", destdir = destdir, download.dir = destdir, verbose = F) at testthat/test_install.R:10
  2: show.avaliable.versions(config.parsed, 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")))
     }(35L, "error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version", 
         TRUE)
  
  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
  
  -- 2. Error: install.bioinfo (@test_install.R#57)  -----------------------------
  error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
  1: install.bioinfo(name = "github_demo", destdir = destdir, download.dir = destdir, 
         verbose = F) at testthat/test_install.R:57
  2: install.github(name = i, destdir = destdir[count], download.dir = download.dir[count], 
         github.cfg = github.cfg, name.saved = name.saved[count], version = version[count], 
         local.source = local.source[count], show.all.versions = show.all.versions, db = db, 
         download.only = download.only, verbose = verbose, showWarnings = showWarnings, 
         dependence.need = dependence.need, extra.list = extra.list, rmcd.parse = rcmd.parse, 
         bash.parse = bash.parse, glue.parse = glue.parse, glue.flag = glue.flag, save.to.db = save.to.db, 
         ...)
  3: show.avaliable.versions(config.parsed, name)
  4: get.github.version(config)
  5: github2versions(config$github_url)
  6: getURL(url, headerfunction = h$update, httpheader = myheader)
  7: curlPerform(curl = curl, .opts = opts, .encoding = .encoding)
  8: 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")))
     }(35L, "error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version", 
         TRUE)
  
  -- 3. Error: initial (@test_install_uilts.R#39)  -------------------------------
  error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
  1: show.avaliable.versions(config) at testthat/test_install_uilts.R:39
  2: get.github.version(config)
  3: github2versions(config$github_url)
  4: getURL(url, headerfunction = h$update, httpheader = myheader)
  5: curlPerform(curl = curl, .opts = opts, .encoding = .encoding)
  6: 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")))
     }(35L, "error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version", 
         TRUE)
  
  -- 4. Error: dependence (@test_install_uilts.R#88)  ----------------------------
  error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
  1: install.dependence("github_demo", "master", destdir, destdir, F) at testthat/test_install_uilts.R:88
  2: install.bioinfo(name = need.install, download.dir = download.dir, destdir = rep(destdir, 
         length(download.dir)), version = need.install.version, verbose = verbose, github.cfg = github.cfg, 
         nongithub.cfg = nongithub.cfg)
  3: install.github(name = i, destdir = destdir[count], download.dir = download.dir[count], 
         github.cfg = github.cfg, name.saved = name.saved[count], version = version[count], 
         local.source = local.source[count], show.all.versions = show.all.versions, db = db, 
         download.only = download.only, verbose = verbose, showWarnings = showWarnings, 
         dependence.need = dependence.need, extra.list = extra.list, rmcd.parse = rcmd.parse, 
         bash.parse = bash.parse, glue.parse = glue.parse, glue.flag = glue.flag, save.to.db = save.to.db, 
         ...)
  4: show.avaliable.versions(config.parsed, name)
  5: get.github.version(config)
  6: github2versions(config$github_url)
  7: getURL(url, headerfunction = h$update, httpheader = myheader)
  8: curlPerform(curl = curl, .opts = opts, .encoding = .encoding)
  9: 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")))
     }(35L, "error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version", 
         TRUE)
  
  cloning into 'D:/temp/RtmpGgoA9K/denpendence1'...
  -- 5. Error: git.download (@test_install_uilts.R#102)  -------------------------
  unknown certificate check failure
  1: git.download("github_demo", destdir, "master", url, TRUE, FALSE, FALSE) at testthat/test_install_uilts.R:102
  2: git2r::clone(github_url, destdir)
  3: git2r::clone(github_url, destdir)
  
  123 > D:/temp/RtmpGgoA9K/123
  123 > D:/temp/RtmpGgoA9K/123
  123 > D:/temp/RtmpGgoA9K/123
  123 > D:/temp/RtmpGgoA9K/123
  D:\temp\RtmpGgoA9K/destdir.initial not empty, overwrite?[y]
  Please input y/n/Y/N!
  D:\temp\RtmpGgoA9K/destdir.initial not empty, overwrite?[y]
  Please input y/n/Y/N!
  D:\temp\RtmpGgoA9K/destdir.initial not empty, overwrite?[y]
  More than 3 counts input, default is not to overwrite.
  D:\temp\RtmpGgoA9K/destdir.initial existed, overwrite?[y]
  Please input y/n/Y/N!
  D:\temp\RtmpGgoA9K/destdir.initial existed, overwrite?[y]
  Please input y/n/Y/N!
  D:\temp\RtmpGgoA9K/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'
  
  downloaded 107 bytes
  
  trying URL 'ftp://ftp.sjtu.edu.cn/pub/CPAN/clpa//index.html'
  ...
  downloaded 3574 bytes
  
  == testthat results  ===========================================================
  OK: 59 SKIPPED: 0 FAILED: 5
  1. Error: install.github (@test_install.R#10) 
  2. Error: install.bioinfo (@test_install.R#57) 
  3. Error: initial (@test_install_uilts.R#39) 
  4. Error: dependence (@test_install_uilts.R#88) 
  5. Error: git.download (@test_install_uilts.R#102) 
  
  Error: testthat unit tests failed
  Execution halted