File tree Expand file tree Collapse file tree 3 files changed +21
-8
lines changed Expand file tree Collapse file tree 3 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 1
1
Package: Rcpp
2
2
Title: Seamless R and C++ Integration
3
- Version: 1.0.13.6
4
- Date: 2024-11-25
3
+ Version: 1.0.13.6.1
4
+ Date: 2024-12-21
5
5
Authors@R: c(person("Dirk", "Eddelbuettel", role = c("aut", "cre"), email = "
[email protected] ",
6
6
comment = c(ORCID = "0000-0001-6419-907X")),
7
7
person("Romain", "Francois", role = "aut",
Original file line number Diff line number Diff line change 9
9
\itemize {
10
10
\item Support for user - defined databases has been removed (Kevin in
11
11
\ghpr {1314 } fixing \ghit {1313 })
12
- \item The \code {SET_TYPEOF } function and macro is no longer used (Kevin in
13
- \ghpr {1315 } fixing \ghit {1312 })
12
+ \item The \code {SET_TYPEOF } function and macro is no longer used (Kevin
13
+ in \ghpr {1315 } fixing \ghit {1312 })
14
14
\item An errorneous cast to \code {int } affecting large return object
15
15
has been removed (Dirk in \ghpr {1335 } fixing \ghpr {1334 })
16
16
\item Compilation on DragonFlyBSD is now supported (G ábor Cs árdi in
17
17
\ghpr {1338 })
18
18
\item Use read - only \code {VECTOR_PTR } and \code {STRING_PTR } only with
19
19
with R 4.5.0 or later (Kevin in \ghpr {1342 } fixing \ghit {1341 })
20
+ \item As R 4.5.0 or later prefix math functions , make undefine in Rcpp
21
+ Sugar version dependent (Dirk in \ghpr {1352 } fixing \ghit {1351 })
20
22
}
21
23
\item Changes in Rcpp Attributes :
22
24
\itemize {
30
32
\item Authors @ R is now used in DESCRIPTION as mandated by CRAN , the
31
33
\code {Rcpp.package.skeleton()} function also creates it (Dirk in
32
34
\ghpr {1325 } and \ghpr {1327 })
35
+ \item A single datetime format test has been adjusted to match a change
36
+ in R - devel (Dirk in \ghpr {1348 } fixing \ghit {1347 })
33
37
}
34
38
\item Changes in Rcpp Documentation :
35
39
\itemize {
Original file line number Diff line number Diff line change 1
- // -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; tab-width: 8 -*-
2
- //
3
1
// undoRmath.h: Rcpp R/C++ interface class library -- undo the macros set by Rmath.h
4
2
//
5
- // Copyright (C) 2010 - 2011 Dirk Eddelbuettel and Romain Francois
3
+ // Copyright (C) 2010 - 2024 Dirk Eddelbuettel and Romain Francois
6
4
//
7
5
// This file is part of Rcpp.
8
6
//
22
20
#ifndef RCPP_SUGAR_UNDORMATH_H
23
21
#define RCPP_SUGAR_UNDORMATH_H
24
22
25
- // undo some of the mess of Rmath
23
+ // Reverse-depends checks found rare cases where R_Version would not evaluate
24
+ // So here we, if needed, we first undefine ...
25
+ #ifdef R_Version
26
+ #undef R_Version
27
+ #endif
28
+ // ... and then repeat the definition from Rversion.h
29
+ #define R_Version (v ,p ,s ) (((v) * 65536) + ((p) * 256) + (s))
30
+
31
+ // Undo some of the definitions in Rmath -- but only prior to R 4.5.0
32
+ #if R_VERSION < R_Version (4 ,5 ,0 )
33
+
26
34
#undef sign
27
35
#undef trunc
28
36
#undef rround
163
171
#undef tetragamma
164
172
#undef trigamma
165
173
174
+ #endif
166
175
167
176
#endif
You can’t perform that action at this time.
0 commit comments