tests/testthat/helper-transition.R

# temp_idf {{{
temp_idf <- function(ver, ...) {
    idf <- empty_idf(ver)

    l <- tryCatch(list(...), error = function(e) 1L)

    if (length(l)) with_option(list(validate_level = "draft"), idf$add(...))

    idf$save(tempfile(fileext = ".idf"))
    idf
}
# }}}

# vim: set fdm=marker:

Try the eplusr package in your browser

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

eplusr documentation built on Aug. 25, 2023, 5:18 p.m.