diff --git a/DESCRIPTION b/DESCRIPTION index 27a3ae3d7bca4425cc74ac6e74de20c36ca776e5..18a9d221efbee4b37e16a03c7d294e97a9445159 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 f9dda6be82aa15db7cd0861d7bd15a12cf2c2d9e..58b71bbe9c4712b793af945d412bbb5bcf505bad 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) }