inst/unitTests/local_test_getFileDetails.R

if(FALSE) {
  library( "RUnit" )
  library( "ENCODExplorer" )
}

load(file = "inst/extdata/test_rest_search_file.rda") #search_file

res = getFileDetails(resultSet = search_file)
checkTrue(is.list(res), msg = "this function should return a list")
checkTrue(length(res) == 2, msg = "this function should return a list with 2 elements")

Try the ENCODExplorer package in your browser

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

ENCODExplorer documentation built on Nov. 8, 2020, 5:11 p.m.