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 Aug. 29, 2024, 5:23 p.m.