Add benchmark tests

This commit is contained in:
2022-04-25 02:35:23 +02:00
parent a3b4b59b48
commit a17166ed31
14 changed files with 176 additions and 83 deletions

View File

@@ -1,9 +1,9 @@
library(glue)
args = commandArgs(trailingOnly=TRUE)
if (length(args)!=1) {
stop("Only one argument must be supplied (score).n", call.=FALSE)
if (length(args)!=2) {
stop("Only two arguments must be supplied (score & input_file).n", call.=FALSE)
}
csv_file <- glue("results/exreport_{args[1]}.csv")
csv_file <- glue("{args[2]}.csv")
destination <- "exreport/"
results <- read.csv(csv_file)
library(exreport)