Running ‘testthat.R’ [19s/74s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(biomartr)
  > 
  > test_check("biomartr")
  1. Error: The biomart() interface works properly.. (@test-biomart.R#14) --------
  The given dataset:  hsapiens_gene_ensembl , is not valid.  Correct dataset names can be obtained with the listDatasets() function.
  1: expect_true(equal_lists(as.list(biomart(genes = "GUCA2A", mart = as.character(marts$mart[ex_mart]), 
         dataset = "hsapiens_gene_ensembl", attributes = c("start_position", "end_position", 
             "description"), filters = "hgnc_symbol")[1, 1:3]), list(hgnc_symbol = "GUCA2A", 
         start_position = 42162691, end_position = 42164718))) at testthat/test-biomart.R:14
  2: expect(identical(as.vector(object), TRUE), sprintf("%s isn't true.", lab), info = info)
  3: as.expectation(exp, ..., srcref = srcref)
  4: identical(as.vector(object), TRUE)
  5: as.vector(object)
  6: equal_lists(as.list(biomart(genes = "GUCA2A", mart = as.character(marts$mart[ex_mart]), 
         dataset = "hsapiens_gene_ensembl", attributes = c("start_position", "end_position", 
             "description"), filters = "hgnc_symbol")[1, 1:3]), list(hgnc_symbol = "GUCA2A", 
         start_position = 42162691, end_position = 42164718))
  7: isTRUE(all.equal(df1, df2)) at testthat/test-biomart.R:4
  8: all.equal(df1, df2)
  9: as.list(biomart(genes = "GUCA2A", mart = as.character(marts$mart[ex_mart]), dataset = "hsapiens_gene_ensembl", 
         attributes = c("start_position", "end_position", "description"), filters = "hgnc_symbol")[1, 
         1:3])
  10: biomart(genes = "GUCA2A", mart = as.character(marts$mart[ex_mart]), dataset = "hsapiens_gene_ensembl", 
         attributes = c("start_position", "end_position", "description"), filters = "hgnc_symbol")
  11: biomaRt::useDataset(dataset = dataset, mart = m)
  12: checkDataset(dataset = dataset, mart = mart)
  13: stop(paste("The given dataset: ", dataset, ", is not valid.  Correct dataset names can be obtained with the listDatasets() function."))
  
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/archaea/assembly_summary.txt'
  Content type 'unknown' length 227379 bytes (222 KB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/bacteria/assembly_summary.txt'
  Content type 'unknown' length 30902914 bytes (29.5 MB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/fungi/assembly_summary.txt'
  Content type 'unknown' length 83337 bytes (81 KB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/invertebrate/assembly_summary.txt'
  Content type 'unknown' length 48656 bytes (47 KB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/plant/assembly_summary.txt'
  Content type 'unknown' length 31477 bytes (30 KB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/protozoa/assembly_summary.txt'
  Content type 'unknown' length 25393 bytes (24 KB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/vertebrate_mammalian/assembly_summary.txt'
  Content type 'unknown' length 35435 bytes (34 KB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/vertebrate_other/assembly_summary.txt'
  Content type 'unknown' length 39361 bytes (38 KB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/viral/assembly_summary.txt'
  Content type 'unknown' length 2242561 bytes (2.1 MB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/GENOME_REPORTS/overview.txt'
  Content type 'unknown' length 3016122 bytes (2.9 MB)
  ==================================================
  trying URL 'ftp://ftp.ncbi.nlm.nih.gov/genomes/genbank/metagenomes/assembly_summary.txt'
  Content type 'unknown' length 366154 bytes (357 KB)
  ==================================================
  testthat results ================================================================
  OK: 5 SKIPPED: 48 FAILED: 1
  1. Error: The biomart() interface works properly.. (@test-biomart.R#14) 
  
  Error: testthat unit tests failed
  Execution halted