tests/testthat/helper-get_example_olink_data.R

# load example datasets for Olink Explore products
get_example_data <- function(filename) {
  ref_norm_res_file <- test_path("..", "data", filename)
  #check that file exists
  expect_true(file.exists(ref_norm_res_file))
  # read rds data
  readRDS(file = ref_norm_res_file)
}

Try the OlinkAnalyze package in your browser

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

OlinkAnalyze documentation built on Sept. 25, 2024, 9:07 a.m.