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 Sept. 18, 2023, 5:16 p.m.