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 2, 2019, 5:54 p.m.