Skip to content

Feature/deprecate old date datetime #767

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
2017-11-04 Dirk Eddelbuettel <edd@debian.org>

* vignettes/Rcpp-FAQ.Rmd: Add 'skip_final_break: true' toggle
* vignettes/Rcpp-attributes.Rmd: Idem
* vignettes/Rcpp-extending.Rmd: Idem
* vignettes/Rcpp-modules.Rmd: Idem
* vignettes/Rcpp-sugar.Rmd: Idem

2017-10-30 Dirk Eddelbuettel <edd@debian.org>

* inst/include/Rcpp.h: Unless RCPP_FORCE_OLD_DATE_DATETIME_VECTORS is
defined, define RCPP_NEW_DATE_DATETIME_VECTORS to switch to new date and
datetime vector as announced in release 0.12.8 one year ago

2017-10-03 Dirk Eddelbuettel <edd@debian.org>

* inst/include/Rcpp/iostream/Rstreambuf.h: White-space edits
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: Rcpp
Title: Seamless R and C++ Integration
Version: 0.12.13.1
Date: 2017-09-29
Version: 0.12.13.2
Date: 2017-10-30
Author: Dirk Eddelbuettel, Romain Francois, JJ Allaire, Kevin Ushey, Qiang Kou,
Nathan Russell, Douglas Bates and John Chambers
Maintainer: Dirk Eddelbuettel <edd@debian.org>
Expand Down
3 changes: 3 additions & 0 deletions inst/NEWS.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
added to \code{MatrixRow} as well (Dan Dillon in \ghpr{750}).
\item The \code{Rostream} object now contains a \code{Buffer} rather than
allocating one (Kirill Müller in \ghpr{763}).
\item New \code{DateVector} and \code{DatetimeVector} classes are now the
default fully deprecating the old classes as announced one year ago.

}
\item Changes in Rcpp Package:
\itemize{
Expand Down
4 changes: 3 additions & 1 deletion inst/include/Rcpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@
#include <Rcpp/Formula.h>
#include <Rcpp/DataFrame.h>

// #define RCPP_NEW_DATE_DATETIME_VECTORS 1
#if !defined(RCPP_FORCE_OLD_DATE_DATETIME_VECTORS)
#define RCPP_NEW_DATE_DATETIME_VECTORS 1
#endif
#include <Rcpp/date_datetime/date_datetime.h>

#include <Rcpp/Na_Proxy.h>
Expand Down
3 changes: 3 additions & 0 deletions vignettes/Rcpp-FAQ.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ bibliography: Rcpp
# Customize footer, eg by referencing the vignette
footer_contents: "Rcpp Vignette"

# Omit \pnasbreak at end
skip_final_break: true

# Produce a pinp document
output: pinp::pinp

Expand Down
3 changes: 3 additions & 0 deletions vignettes/Rcpp-attributes.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ bibliography: Rcpp
# Customize footer, eg by referencing the vignette
footer_contents: "Rcpp Vignette"

# Omit \pnasbreak at end
skip_final_break: true

# Produce a pinp document
output: pinp::pinp

Expand Down
3 changes: 3 additions & 0 deletions vignettes/Rcpp-extending.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ bibliography: Rcpp
# Customize footer, eg by referencing the vignette
footer_contents: "Rcpp Vignette"

# Omit \pnasbreak at end
skip_final_break: true

# Produce a pinp document
output: pinp::pinp

Expand Down
3 changes: 3 additions & 0 deletions vignettes/Rcpp-modules.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ bibliography: Rcpp
# Customize footer, eg by referencing the vignette
footer_contents: "Rcpp Vignette"

# Omit \pnasbreak at end
skip_final_break: true

# Produce a pinp document
output: pinp::pinp

Expand Down
3 changes: 3 additions & 0 deletions vignettes/Rcpp-sugar.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ bibliography: Rcpp
# Customize footer, eg by referencing the vignette
footer_contents: "Rcpp Vignette"

# Omit \pnasbreak at end
skip_final_break: true

# Produce a pinp document
output: pinp::pinp

Expand Down