tests/testthat/test-dbi_backend_tools.R

test_that("Create a backend for DBI", {
  only_one <- yaml_content_parsed |>
    purrr::pluck("datasources", 2, "backend")

  connection <- create_backend_dbi(only_one)

  expect_s3_class(connection, c("ConnectorDBI", "R6"))
})

Try the connector package in your browser

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

connector documentation built on June 8, 2025, 11:36 a.m.