From 58199262c67aae2d16089f36be10f59cf0a913b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Montan=CC=83ana?= Date: Wed, 11 May 2022 22:33:01 +0200 Subject: [PATCH] Change message language to R script --- benchmark/benchmark.r | 1 + benchmark/tests/test_files/exreport_error.test | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/benchmark/benchmark.r b/benchmark/benchmark.r index dc7179b..cf9a3cc 100644 --- a/benchmark/benchmark.r +++ b/benchmark/benchmark.r @@ -1,4 +1,5 @@ library(glue) +Sys.setenv(LANG = "en") args = commandArgs(trailingOnly=TRUE) if (length(args)!=3) { stop("Only two arguments must be supplied (score & input_file & visualize).n", call.=FALSE) diff --git a/benchmark/tests/test_files/exreport_error.test b/benchmark/tests/test_files/exreport_error.test index 7d67fd2..0dd7421 100644 --- a/benchmark/tests/test_files/exreport_error.test +++ b/benchmark/tests/test_files/exreport_error.test @@ -1,9 +1,9 @@ **************************************************************************************************** Error computing benchmark **************************************************************************************************** -Error in file(file, "rt") : no se puede abrir la conexión +Error in file(file, "rt") : cannot open the connection Calls: read.csv -> read.table -> file -Además: Warning message: +In addition: Warning message: In file(file, "rt") : - no fue posible abrir el archivo 'exreport/exreport_unknown.csv': No such file or directory -Ejecución interrumpida + cannot open file 'exreport/exreport_unknown.csv': No such file or directory +Execution halted