Skip to content

Commit 142f283

Browse files
committed
Merge pull request #207 from RcppCore/feature/four-part-version-macro
Feature/four part version macro
2 parents d914443 + ff3a255 commit 142f283

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed

ChangeLog

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
2014-11-23 Dirk Eddelbuettel <edd@debian.org>
2+
3+
* inst/include/Rcpp/config.h: New macro RcppDevVersion to account for
4+
four-part development versions such as the current 0.11.3.2
5+
* DESCRIPTION: Version incremented to 0.11.3.2
6+
7+
2014-11-23 Romain Francois <romain@r-enthusiasts.com>
8+
9+
* inst/include/Rcpp/exceptions.h: Richer formatting for Rcpp::stop
10+
* inst/include/Rcpp/utils/tinyformat.h: Backend for formattinh
11+
* inst/unitTests/runit.misc.R: Added new unit test
12+
* inst/unitTests/cpp/misc.cpp: C++ backend for test
13+
114
2014-11-19 Dirk Eddelbuettel <edd@debian.org>
215

316
* .travis.yml: Temporary stop-gap measure of setting CRAN to something

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.11.3.1
4-
Date: 2014-10-29
3+
Version: 0.11.3.2
4+
Date: 2014-11-23
55
Author: Dirk Eddelbuettel, Romain Francois, JJ Allaire, Kevin Ushey,
66
Douglas Bates, and John Chambers
77
Maintainer: Dirk Eddelbuettel <edd@debian.org>

inst/NEWS.Rd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
\item The \code{[dpq]nbinom_mu()} scalar functions are now available via
1212
the \code{R::} namespace when R 3.1.2 or newer is used.
1313
\item Add an additional test for AIX before attempting to include \code{execinfo.h}.
14-
\item Rcpp::stop gains a printf like syntax, inspired from the implementation in
15-
Rcpp11, using tinyformat
14+
\item \code{Rcpp::stop} now supports improved \code{printf}-like syntax
15+
using the small tinyformat header-only library (following a similar
16+
implementation in Rcpp11)
1617
}
1718
\item Changes in Rcpp Attributes:
1819
\itemize{

inst/include/Rcpp/config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@
2424

2525
#define Rcpp_Version(v,p,s) (((v) * 65536) + ((p) * 256) + (s))
2626

27+
// at this point 0.11.4 is the next but as of yet unreleased version
2728
#define RCPP_VERSION Rcpp_Version(0,11,4)
2829

30+
#define RcppDevVersion(maj, min, rev, dev) (((maj)*1e6) + ((min)*1e4) + ((rev)*1e2) + (dev))
31+
#define RCPP_DEV_VERSION RcppDevVersion(0,11,3,2)
32+
2933
#endif
3034

0 commit comments

Comments
 (0)