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 June 22, 2024, 7:07 p.m.