Running ‘testthat.R’ [15s/489s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(biomartr)
  > 
  > test_check("biomartr")
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/archaea/assembly_summary.txt'
  Content type 'unknown' length 216775 bytes (211 KB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/bacteria/assembly_summary.txt'
  Content type 'unknown' length 27956992 bytes (26.7 MB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/fungi/assembly_summary.txt'
  Content type 'unknown' length 79196 bytes (77 KB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/invertebrate/assembly_summary.txt'
  Content type 'unknown' length 43829 bytes (42 KB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/plant/assembly_summary.txt'
  Content type 'unknown' length 28035 bytes (27 KB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/protozoa/assembly_summary.txt'
  Content type 'unknown' length 24027 bytes (23 KB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/vertebrate_mammalian/assembly_summary.txt'
  Content type 'unknown' length 33599 bytes (32 KB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/vertebrate_other/assembly_summary.txt'
  Content type 'unknown' length 38612 bytes (37 KB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/viral/assembly_summary.txt'
  Content type 'unknown' length 2173566 bytes (2.1 MB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/GENOME_REPORTS/overview.txt'
  1. Error: The getGENOMEREPORT() interface works properly.. (@test-getGENOMEREPORT.R#6) 
  The FTP site 
                  'ftp://ftp.ncbi.nlm.nih.gov/genomes/GENOME_REPORTS/overview.txt'
                  cannot be reached. Are you connected to the internet? Is the the
                  FTP site 'ftp://ftp.ncbi.nlm.nih.gov' currently available?
  1: getGENOMEREPORT() at testthat/test-getGENOMEREPORT.R:6
  2: tryCatch({
         downloader::download("ftp://ftp.ncbi.nlm.nih.gov/genomes/GENOME_REPORTS/overview.txt", 
             file.path(tempdir(), "_ncbi_downloads", "overview.txt"), mode = "wb")
     }, error = function(e) stop("The FTP site \n                'ftp://ftp.ncbi.nlm.nih.gov/genomes/GENOME_REPORTS/overview.txt'\n                cannot be reached. Are you connected to the internet? Is the the\n                FTP site 'ftp://ftp.ncbi.nlm.nih.gov' currently available?", 
         call. = FALSE))
  3: tryCatchList(expr, classes, parentenv, handlers)
  4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  5: value[[3L]](cond)
  6: stop("The FTP site \n                'ftp://ftp.ncbi.nlm.nih.gov/genomes/GENOME_REPORTS/overview.txt'\n                cannot be reached. Are you connected to the internet? Is the the\n                FTP site 'ftp://ftp.ncbi.nlm.nih.gov' currently available?", 
         call. = FALSE)
  
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/genbank/metagenomes/assembly_summary.txt'
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/genbank/metagenomes/assembly_summary.txt'
  Content type 'unknown' length 354809 bytes (346 KB)
  ==================================================
  testthat results ================================================================
  OK: 8 SKIPPED: 48 FAILED: 1
  1. Error: The getGENOMEREPORT() interface works properly.. (@test-getGENOMEREPORT.R#6) 
  
  Error: testthat unit tests failed
  Execution halted