diff --git a/.Rbuildignore b/.Rbuildignore index d0a3f0a66a799dbbad8e84e6f8503e89a766c215..2ef8ba9063900318c7c0be04cc2ac48a636842e4 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -9,7 +9,7 @@ ^inst/doc$ ^\.gitlab-ci\.yml$ ## unit tests should be ignored when building the package for CRAN -#^tests$ +^tests$ ^inst/PlotProfiling\.R$ # Suggested by http://r-pkgs.had.co.nz/package.html diff --git a/DESCRIPTION b/DESCRIPTION index 6b75f77f6ceeeba0d02b5bc1e04cd701ea4aef5e..fdd5843f05e6104ccfdbaacedf227edcc800f847 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: startR Title: Automatically Retrieve Multidimensional Distributed Data Sets -Version: 2.2.1 +Version: 2.2.2 Authors@R: c( person("Nicolau", "Manubens", , "nicolau.manubens@bsc.es", role = c("aut")), person("An-Chi", "Ho", , "an.ho@bsc.es", role = c("aut", "cre")), @@ -36,7 +36,7 @@ Suggests: stats, utils, testthat -License: Apache License 2.0 +License: GPL-3 URL: https://earth.bsc.es/gitlab/es/startR/ BugReports: https://earth.bsc.es/gitlab/es/startR/-/issues SystemRequirements: cdo ecFlow diff --git a/NEWS.md b/NEWS.md index c1dc90bd1044fbd763970d6e8422bd007bfe3ee4..ce5eab1ab35a8ef394d2bd94c2297f86457e13f9 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +# startR v2.2.1 (Release date: 2023-03-24) +- Start(): Bugfix when the input parameters are assigned by a variable with NULL value and retrieve = F +- NcDataReader(): Bugfix for wrong time attributes return when the unit is "month" + # startR v2.2.1 (Release date: 2022-11-17) - Reduce warning messages from CDO. - Reduce repetitive warning messages from CDORemapper() when single core is used. When multiple cores diff --git a/R/CDORemapper.R b/R/CDORemapper.R index 67c6b9e93b0b0e1f5c1b73efeeaefca0f21f2038..60aa0e2d0be6be80ec025e0a403ef352c3c654ae 100644 --- a/R/CDORemapper.R +++ b/R/CDORemapper.R @@ -33,7 +33,7 @@ #' data_path <- system.file('extdata', package = 'startR') #' path_obs <- file.path(data_path, 'obs/monthly_mean/$var$/$var$_$sdate$.nc') #' sdates <- c('200011') -#' \donttest{ +#' \dontrun{ #' data <- Start(dat = list(list(path = path_obs)), #' var = 'tos', #' sdate = sdates, diff --git a/startR-manual.pdf b/startR-manual.pdf deleted file mode 100644 index 84ba5184bb5acc5bb7e84cf35887158bc6d1235a..0000000000000000000000000000000000000000 Binary files a/startR-manual.pdf and /dev/null differ