From 20097bf99a5dc0590f9337d273b919b841ecb57a Mon Sep 17 00:00:00 2001 From: nperez Date: Tue, 2 Mar 2021 09:24:57 +0100 Subject: [PATCH] change R version --- DESCRIPTION | 2 +- R/SelectPeriodOnData.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 27a3ae3..18a9d22 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -5,7 +5,7 @@ Authors@R: c( person("Nuria", "Perez-Zanon", , "nuria.perez@bsc.es", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-8568-3071"))) Description: The package contains the definition-based computation of the sectoral indicators for the Climate Service. Depends: - R (>= 3.6.1) + R (>= 3.6.0) Imports: multiApply (>= 2.1.1), s2dv, diff --git a/R/SelectPeriodOnData.R b/R/SelectPeriodOnData.R index f9dda6b..58b71bb 100644 --- a/R/SelectPeriodOnData.R +++ b/R/SelectPeriodOnData.R @@ -121,7 +121,7 @@ SelectPeriodOnData <- function(data, dates, start, end, res <- Apply(list(data, res), target_dims = time_dim, fun = function(x, y) { res <- x[y] - }, ncores = ncores)$output1 + }, ncores = ncores, output_dims = time_dim)$output1 } return(res) } -- GitLab