tests/benchmarks/utils.R

getFilename <- function () {

  return(paste0("tests/benchmarks/output/",
                stringr::str_extract(rstudioapi::getSourceEditorContext()$path, "[^/]+$"),
                "_",
                format(Sys.time(), "%Y%m%d%H%M%S"),
                ".Rout"))
}

Try the bupaR package in your browser

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

bupaR documentation built on April 3, 2023, 5:23 p.m.