tests/testthat/test_gtoxLoadAcid.R

context("Check assay component table")

test_that("gtoxLoadAcid:is a data.table", {
    tmp <- gtoxLoadAcid()
    expect_true("data.table"%in%class(tmp))
})

test_that('gtoxLoadAcid:contains "GSH content_Cell count_24h"', {
    tmp <- gtoxLoadAcid()
    expect_true(any(tmp$acnm%in%"GSH content_Cell count_24h"))
    })

Try the GladiaTOX package in your browser

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

GladiaTOX documentation built on Nov. 15, 2020, 2:07 a.m.