Skip to content

Commit 87a1506

Browse files
committed
deprecating old date(time) classes as outlined in Nov 2016
1 parent 136d50f commit 87a1506

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2017-10-30 Dirk Eddelbuettel <[email protected]>
2+
3+
* inst/include/Rcpp.h: Unless RCPP_FORCE_OLD_DATE_DATETIME_VECTORS is
4+
defined, define RCPP_NEW_DATE_DATETIME_VECTORS to switch to new date and
5+
datetime vector as announced in release 0.12.8 one year ago
6+
17
2017-10-03 Dirk Eddelbuettel <[email protected]>
28

39
* inst/include/Rcpp/iostream/Rstreambuf.h: White-space edits

inst/NEWS.Rd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
added to \code{MatrixRow} as well (Dan Dillon in \ghpr{750}).
1212
\item The \code{Rostream} object now contains a \code{Buffer} rather than
1313
allocating one (Kirill Müller in \ghpr{763}).
14+
\item New \code{DateVector} and \code{DatetimeVector} classes are now the
15+
default fully deprecating the old classes as announced one year ago.
16+
1417
}
1518
\item Changes in Rcpp Package:
1619
\itemize{

inst/include/Rcpp.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@
5656
#include <Rcpp/Formula.h>
5757
#include <Rcpp/DataFrame.h>
5858

59-
// #define RCPP_NEW_DATE_DATETIME_VECTORS 1
59+
#if !defined(RCPP_FORCE_OLD_DATE_DATETIME_VECTORS)
60+
#define RCPP_NEW_DATE_DATETIME_VECTORS 1
61+
#endif
6062
#include <Rcpp/date_datetime/date_datetime.h>
6163

6264
#include <Rcpp/Na_Proxy.h>

0 commit comments

Comments
 (0)