tests/testthat/helper.R

# Useful for creating temporary output files for tests.
tempfile_helper <- function(pattern) {
  tempfile(pattern, fileext = ".nc")
}

tempfile_helper_csv <- function(pattern) {
  tempfile(pattern, fileext = ".csv")
}

Try the cmsafops package in your browser

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

cmsafops documentation built on April 11, 2025, 6:13 p.m.