tests/testthat/test_listMarts.R

# library(biomaRt)
# context('Testing listMarts() function')
# 
# ## we expect this to error as the URL is out of date.
# expect_error(useMart("ENSEMBL_MART_ENSEMBL",dataset="mmusculus_gene_ensembl", host="www.biomart.org"), "Unable to determine the list of available marts")

Try the biomaRt package in your browser

Any scripts or data that you put into this service are public.

biomaRt documentation built on May 24, 2018, 6:01 p.m.