tests/testthat/setup-gen_posix_name.R

gen_posix_name <- function(prefix = "bmc_test") {
  timestamp <- as.character(round(as.numeric(Sys.time()) * 1000))
  sprintf("/%s_%s", prefix, timestamp)
}

Try the bettermc package in your browser

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

bettermc documentation built on April 14, 2023, 12:31 a.m.