tests/testthat/test_getDemographics.R

#' Copyright(c) 2017-2024 R. Mark Sharp
#' This file is part of nprcgenekeepr
context("getDemographics")

test_that("getDemographics throws an error with no LabKey session connection", {
  expect_error(
    expect_warning(
      getDemographics(),
      "The file should be named: ~/.nprcgenekeepr_config."
    )
  )
})

Try the nprcgenekeepr package in your browser

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

nprcgenekeepr documentation built on June 8, 2025, 10:55 a.m.