tests/testthat/helper_make_test_file_results_list.R

#' Create the expect JSON-serializable representation of the results returned by
#' [make_test_file_results()]
make_test_file_results_list <- function() {
  results <- make_test_file_results()
  return(list(test_file_results = lapply(results, function(r) r$to_list())))
}

Try the ottr package in your browser

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

ottr documentation built on May 29, 2024, 3:31 a.m.