tests/testthat/test-check_bioc_version.R

test_that("check_bioc_version works", {
  
  testthat::expect_equal(
    check_bioc_version(bioc = "3.17"),
    "3.17"
  )
  testthat::expect_error(
    check_bioc_version(bioc = "typo")
  )
})

Try the rworkflows package in your browser

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

rworkflows documentation built on May 29, 2024, 2:37 a.m.