Skip to content

Commit dbea570

Browse files
authored
Small update to tests/tinytest.R (#1343)
1 parent 224558e commit dbea570

File tree

3 files changed

+26
-12
lines changed

3 files changed

+26
-12
lines changed

ChangeLog

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2024-11-02 Dirk Eddelbuettel <[email protected]>
2+
3+
* tests/tinytest.R: Minor code edit, removal of two no longer
4+
required setters for tinytest
5+
16
2024-11-01 Dirk Eddelbuettel <[email protected]>
27

38
* DESCRIPTION (Version, Date): Roll micro version to 1.0.13.5

inst/NEWS.Rd

+18-3
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,35 @@
2121
\item Changes in Rcpp Deployment:
2222
\itemize{
2323
\item One unit tests for arm64 macOS has been adjusted; a macOS
24-
continuous integration runner was added
24+
continuous integration runner was added (Dirk in \ghpr{1324})
2525
\item Authors@R is now used in DESCRIPTION as mandated by CRAN, the
26-
\code{Rcpp.package.skeleton()} function also creates it
26+
\code{Rcpp.package.skeleton()} function also creates it (Dirk in
27+
\ghpr{1325} and \ghpr{1327})
2728
}
2829
\item Changes in Rcpp Documentation:
2930
\itemize{
3031
\item The Rcpp Modules vignette was extended slightly following
31-
\ghit{1322}
32+
\ghit{1322} (Dirk)
3233
\item Pdf vignettes have been regenerated under Ghostscript 10.03.1 to
3334
avoid a false positive by a Windows virus scanner (Iñaki in \ghpr{1331})
3435
}
3536
}
3637
}
3738

39+
\section{Changes in Rcpp 'hot-fix' release version 1.0.13-1 (2024-11-01)}{
40+
\itemize{
41+
\item Changes in Rcpp API:
42+
\itemize{
43+
\item Use read-only \code{VECTOR_PTR} and \code{STRING_PTR} only with
44+
with R 4.5.0 or later (Kevin in \ghpr{1342} fixing \ghit{1341})
45+
}
46+
\item Changes in Rcpp Deployment:
47+
\itemize{
48+
\item Authors@R is now used in DESCRIPTION as mandated by CRAN
49+
}
50+
}
51+
}
52+
3853
\section{Changes in Rcpp release version 1.0.13 (2024-07-11)}{
3954
\itemize{
4055
\item Changes in Rcpp API:

tests/tinytest.R

+3-9
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
11

22
if (requireNamespace("tinytest", quietly=TRUE)) {
33

4-
## Set a seed to make the test deterministic
5-
set.seed(42)
6-
7-
## R makes us do this (but tinytest now sets it too)
8-
Sys.setenv("R_TESTS"="")
9-
104
## Force tests to be executed if in dev release which we define as
115
## having a sub-release, eg 0.9.15.5 is one whereas 0.9.16 is not
12-
if (length(strsplit(packageDescription("Rcpp")$Version, "\\.")[[1]]) > 3) { # dev rel, and
6+
if (length(strsplit(format(packageVersion("Rcpp")), "\\.")[[1]]) > 3) { # dev rel, and
137
if (Sys.getenv("RunAllRcppTests") != "no") { # if env.var not yet set
14-
message("Setting \"RunAllRcppTests\"=\"yes\" for development release\n")
8+
message("Setting \"RunAllRcppTests\"=\"yes\" for development release")
159
Sys.setenv("RunAllRcppTests"="yes")
1610
}
1711
if (Sys.getenv("RunVerboseRcppTests") != "no") { # if env.var not yet set
18-
message("Setting \"RunVerboseRcppTests\"=\"yes\" for development release\n")
12+
message("Setting \"RunVerboseRcppTests\"=\"yes\" for development release")
1913
Sys.setenv("RunVerboseRcppTests"="yes")
2014
}
2115
}

0 commit comments

Comments
 (0)