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
}

Try the desc package in your browser

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

desc documentation built on May 29, 2024, 8:54 a.m.