tests/testthat/ignore_plotStructuresFromNscs.R

test_that("plotStructuresFromNscs", {
	drugAnnot <- as(featureData(getAct(rcellminerData::drugData)), "data.frame")
	file <- tempfile() 
	
	pdf(file)
	plotStructuresFromNscs("94600")
	dev.off()
	
	expect_true(file.exists(file))
	
	file <- tempfile() 
	
	pdf(file)
	plotStructuresFromNscs(c("609699", "94600"))
	dev.off()
	
	expect_true(file.exists(file))
})
CBIIT/rcellminer documentation built on Aug. 8, 2024, 12:15 p.m.