From e389aabfcecdd331e19305daff10515c53c2b0b0 Mon Sep 17 00:00:00 2001 From: Dirk Eddelbuettel Date: Sun, 13 Mar 2022 10:44:48 -0500 Subject: [PATCH] limit testing scope to stay withing CRAN time buckets --- ChangeLog | 8 ++++++++ DESCRIPTION | 4 ++-- inst/NEWS.Rd | 4 +++- inst/include/Rcpp/config.h | 4 ++-- tests/tinytest.R | 2 +- 5 files changed, 16 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1218548e6..4972de53e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2022-03-13 Dirk Eddelbuettel + + * DESCRIPTION (Version, Date): Roll minor version + * inst/include/Rcpp/config.h: Idem + + * tests/tinytest.R: Disable full tests on four-digits release to not + exceed CRAN test time preference + 2022-03-10 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version diff --git a/DESCRIPTION b/DESCRIPTION index 26a90154c..f63d3180c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: Rcpp Title: Seamless R and C++ Integration -Version: 1.0.8.2 -Date: 2022-03-10 +Version: 1.0.8.3 +Date: 2022-03-13 Author: Dirk Eddelbuettel, Romain Francois, JJ Allaire, Kevin Ushey, Qiang Kou, Nathan Russell, Inaki Ucar, Douglas Bates and John Chambers Maintainer: Dirk Eddelbuettel diff --git a/inst/NEWS.Rd b/inst/NEWS.Rd index e5e6389da..f243d3077 100644 --- a/inst/NEWS.Rd +++ b/inst/NEWS.Rd @@ -3,7 +3,7 @@ \newcommand{\ghpr}{\href{https://github.com/RcppCore/Rcpp/pull/#1}{##1}} \newcommand{\ghit}{\href{https://github.com/RcppCore/Rcpp/issues/#1}{##1}} -\section{Changes in Rcpp hotfix release version 1.0.8.2 (2022-03-10)}{ +\section{Changes in Rcpp hotfix release version 1.0.8.3 (2022-03-13)}{ \itemize{ \item Changes in Rcpp API: \itemize{ @@ -22,6 +22,8 @@ \item Changes in Rcpp Deployment: \itemize{ \item Accomodate four digit version numbers in unit test (Dirk) + \item Do not run complete test suite to limit test time to CRAN + preference (Dirk) } } } diff --git a/inst/include/Rcpp/config.h b/inst/include/Rcpp/config.h index 8b7992d5b..39b816fdc 100644 --- a/inst/include/Rcpp/config.h +++ b/inst/include/Rcpp/config.h @@ -30,7 +30,7 @@ #define RCPP_VERSION_STRING "1.0.8" // the current source snapshot (using four components, if a fifth is used in DESCRIPTION we ignore it) -#define RCPP_DEV_VERSION RcppDevVersion(1,0,8,2) -#define RCPP_DEV_VERSION_STRING "1.0.8.2" +#define RCPP_DEV_VERSION RcppDevVersion(1,0,8,3) +#define RCPP_DEV_VERSION_STRING "1.0.8.3" #endif diff --git a/tests/tinytest.R b/tests/tinytest.R index f2480ee11..d15e8305d 100644 --- a/tests/tinytest.R +++ b/tests/tinytest.R @@ -9,7 +9,7 @@ if (requireNamespace("tinytest", quietly=TRUE)) { ## Force tests to be executed if in dev release which we define as ## having a sub-release, eg 0.9.15.5 is one whereas 0.9.16 is not - if (length(strsplit(packageDescription("Rcpp")$Version, "\\.")[[1]]) > 3) { # dev rel, and + if (FALSE && length(strsplit(packageDescription("Rcpp")$Version, "\\.")[[1]]) > 3) { # dev rel, and if (Sys.getenv("RunAllRcppTests") != "no") { # if env.var not yet set message("Setting \"RunAllRcppTests\"=\"yes\" for development release\n") Sys.setenv("RunAllRcppTests"="yes")