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"'
  )
  
})

Try the rnaEditr package in your browser

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

rnaEditr documentation built on Nov. 8, 2020, 8:26 p.m.