tests/testthat/helper.R

temp_desc <- function(file = "D2") {
  tmp <- tempfile()
  file.copy(test_path(file), tmp)
  tmp
}

private <- function(x) {
  x$.__enclos_env__$private
}
r-lib/desc documentation built on June 11, 2025, 2:32 p.m.