tests/testthat/test_CreateEditingTable.R

context("CreateEditingTable")

data(rnaedit_df)

test_that("CreateEditingTable returns a dataframe with class 'rnaEdit_df'", {
  
  dat_df <- CreateEditingTable(rnaEditMatrix = rnaedit_df)
  
  expect_output(
    print(class(dat_df)),
    '"rnaEdit_df" "data.frame"'
  )
  
})
TransBioInfoLab/rnaEditr documentation built on Nov. 29, 2022, 3:31 p.m.