Skip to content

Commit 4deae65

Browse files
authored
Merge pull request #767 from RcppCore/feature/deprecate_old_date_datetime
Feature/deprecate old date datetime
2 parents 136d50f + 2b20f7c commit 4deae65

File tree

9 files changed

+37
-3
lines changed

9 files changed

+37
-3
lines changed

ChangeLog

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
2017-11-04 Dirk Eddelbuettel <[email protected]>
2+
3+
* vignettes/Rcpp-FAQ.Rmd: Add 'skip_final_break: true' toggle
4+
* vignettes/Rcpp-attributes.Rmd: Idem
5+
* vignettes/Rcpp-extending.Rmd: Idem
6+
* vignettes/Rcpp-modules.Rmd: Idem
7+
* vignettes/Rcpp-sugar.Rmd: Idem
8+
9+
2017-10-30 Dirk Eddelbuettel <[email protected]>
10+
11+
* inst/include/Rcpp.h: Unless RCPP_FORCE_OLD_DATE_DATETIME_VECTORS is
12+
defined, define RCPP_NEW_DATE_DATETIME_VECTORS to switch to new date and
13+
datetime vector as announced in release 0.12.8 one year ago
14+
115
2017-10-03 Dirk Eddelbuettel <[email protected]>
216

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

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: Rcpp
22
Title: Seamless R and C++ Integration
3-
Version: 0.12.13.1
4-
Date: 2017-09-29
3+
Version: 0.12.13.2
4+
Date: 2017-10-30
55
Author: Dirk Eddelbuettel, Romain Francois, JJ Allaire, Kevin Ushey, Qiang Kou,
66
Nathan Russell, Douglas Bates and John Chambers
77
Maintainer: Dirk Eddelbuettel <[email protected]>

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>

vignettes/Rcpp-FAQ.Rmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ bibliography: Rcpp
6363
# Customize footer, eg by referencing the vignette
6464
footer_contents: "Rcpp Vignette"
6565

66+
# Omit \pnasbreak at end
67+
skip_final_break: true
68+
6669
# Produce a pinp document
6770
output: pinp::pinp
6871

vignettes/Rcpp-attributes.Rmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ bibliography: Rcpp
7070
# Customize footer, eg by referencing the vignette
7171
footer_contents: "Rcpp Vignette"
7272

73+
# Omit \pnasbreak at end
74+
skip_final_break: true
75+
7376
# Produce a pinp document
7477
output: pinp::pinp
7578

vignettes/Rcpp-extending.Rmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ bibliography: Rcpp
6767
# Customize footer, eg by referencing the vignette
6868
footer_contents: "Rcpp Vignette"
6969

70+
# Omit \pnasbreak at end
71+
skip_final_break: true
72+
7073
# Produce a pinp document
7174
output: pinp::pinp
7275

vignettes/Rcpp-modules.Rmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ bibliography: Rcpp
6767
# Customize footer, eg by referencing the vignette
6868
footer_contents: "Rcpp Vignette"
6969

70+
# Omit \pnasbreak at end
71+
skip_final_break: true
72+
7073
# Produce a pinp document
7174
output: pinp::pinp
7275

vignettes/Rcpp-sugar.Rmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ bibliography: Rcpp
6969
# Customize footer, eg by referencing the vignette
7070
footer_contents: "Rcpp Vignette"
7171

72+
# Omit \pnasbreak at end
73+
skip_final_break: true
74+
7275
# Produce a pinp document
7376
output: pinp::pinp
7477

0 commit comments

Comments
 (0)