tests/testthat/helper-read_pydata.R

read_pydata <- function(py_path) {
  py_path <- paste0(py_path, ".rds")
  py_path <- test_path("py-data", py_path)
  readRDS(py_path)
}

Try the yardstick package in your browser

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

yardstick documentation built on April 21, 2023, 9:08 a.m.