R/return_mtcars_testfile.R

Defines functions return_mtcars_testfile

Documented in return_mtcars_testfile

#' Read and return the mtcars testfile
#'
#' Gets the modified rds dataset for testing assertions.
#'
#' @return returns mtcars_test dataframe

return_mtcars_testfile <- function() {
  testfile_path <- paste0(getwd(), "/datasets/mtcars_test.rds")
  mtcars_test <- readr::read_rds(testfile_path)
  mtcars_test
}

Try the vvauditor package in your browser

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

vvauditor documentation built on Jan. 19, 2026, 5:08 p.m.