inst/tests/testAPI2.R

test_that("API unchanged2", {  
  MyTaxa <- c("Camelus bactrianus", "Camelus dromedarius", "Hippopotamus amphibius", "Rattus rattus", "Rana cascadae", "Bufo bufo")
  testEOLs <- DownloadSearchedTaxa(MyTaxa, to.file=FALSE)
  testHiers <- DownloadHierarchy(testEOLs, FALSE, database="NCBI Taxonomy")
  is_identical_to(testHiers, MyHiers)
})

Try the Reol package in your browser

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

Reol documentation built on May 30, 2017, 12:30 a.m.