tests/testthat/test_ASA.R

context("Just testing ASA functionality")

test_that("Check whether length of ASA vector is correct",{
  PredASAdir<-system.file("testForder/",package="ftrCOOL")
  PredASAdir<-paste0(PredASAdir,"/test_ASA/")
  ASAfunc<-ASA(PredASAdir,outFormat="mat")
  expect_equal(dim(ASAfunc),c(2,246))
})

Try the ftrCOOL package in your browser

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

ftrCOOL documentation built on Nov. 30, 2021, 1:07 a.m.