[Rcpp-commits] r4469 - in pkg/Rcpp: . inst
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Aug 31 23:27:50 CEST 2013
Author: edd
Date: 2013-08-31 23:27:49 +0200 (Sat, 31 Aug 2013)
New Revision: 4469
Modified:
pkg/Rcpp/ChangeLog
pkg/Rcpp/DESCRIPTION
pkg/Rcpp/inst/NEWS.Rd
Log:
document vignette work
Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog 2013-08-31 21:13:14 UTC (rev 4468)
+++ pkg/Rcpp/ChangeLog 2013-08-31 21:27:49 UTC (rev 4469)
@@ -1,27 +1,35 @@
+2013-08-31 Dirk Eddelbuettel <edd at debian.org>
+
+ * inst/doc/*: Moved all vignettes to vignettes/*
+ * vignettes/*: Minor updates to some vignettes
+
2013-08-22 Romain Francois <romain at r-enthusiasts.com>
- * include/Rcpp/traits/is_primitive.h : new trait to identify if a type is
- primitive, this is a shortcut of using r_type_traits and compare it
- to r_type_primitive_tag
- * include/Rcpp/traits/r_type_traits.h : new tag r_type_pair_tag to handle
- wrapping map<KEY, VALUE> where KEY can be converted to String and VALUE
- can wrap itself
+ * include/Rcpp/traits/is_primitive.h : new trait to identify if a
+ type is primitive, this is a shortcut of using r_type_traits and
+ compare it to r_type_primitive_tag
+ * include/Rcpp/traits/r_type_traits.h : new tag r_type_pair_tag to
+ handle wrapping map<KEY, VALUE> where KEY can be converted to String
+ and VALUE can wrap itself
* include/Rcpp/internal/wrap.h : handling map<KEY, VALUE> and vector<T>
where T is a class handled by modules
- * include/Rcpp/api/meat/wrap.h : implementations to handle map<KEY, VALUE>
- * unitTests/cpp/wrap.cpp : more tests for map<KEY, VALUE> with KEY not a string
- * unitTests/runit.wrap.R : more tests for map<KEY, VALUE> with KEY not a string
-
- * include/Rcpp/internal/export.h : added export_range__dispatch for the
- r_type_generic_tag tag. Meaning we can now use as< vector<T> > where
- T is not a primitive
+ * include/Rcpp/api/meat/wrap.h : implementations to handle map<KEY,
+ VALUE>
+ * unitTests/cpp/wrap.cpp : more tests for map<KEY, VALUE> with KEY
+ not a string
+ * unitTests/runit.wrap.R : more tests for map<KEY, VALUE> with KEY
+ not a string
+
+ * include/Rcpp/internal/export.h : added export_range__dispatch for
+ the r_type_generic_tag tag. Meaning we can now use as< vector<T> >
+ where T is not a primitive
* include/Rcpp/api/meat/export.h : implementation in meat because it needs as
-
+
2013-08-01 Romain Francois <romain at r-enthusiasts.com>
- * unitTests/cpp/wstring.cpp: fix to re-enable wstring test suite.
+ * unitTests/cpp/wstring.cpp: fix to re-enable wstring test suite.
* unitTests/runit.wstring.R: re-enable the wstring test suite.
-
+
2013-07-31 Dirk Eddelbuettel <edd at debian.org>
* DESCRIPTION: Bump development version to 0.10.4.3
Modified: pkg/Rcpp/DESCRIPTION
===================================================================
--- pkg/Rcpp/DESCRIPTION 2013-08-31 21:13:14 UTC (rev 4468)
+++ pkg/Rcpp/DESCRIPTION 2013-08-31 21:27:49 UTC (rev 4469)
@@ -51,9 +51,9 @@
see 'citation("Rcpp")' for details.
Depends: R (>= 2.15.1)
Imports: methods
-Suggests: RUnit, inline, rbenchmark
+Suggests: RUnit, inline, rbenchmark, highlight
+VignetteBuilder: highlight
URL: http://www.rcpp.org, http://dirk.eddelbuettel.com/code/rcpp.html, http://blog.r-enthusiasts.com/tag/rcpp/
License: GPL (>= 2)
BugReports: http://r-forge.r-project.org/tracker/?atid=637&group_id=155&func=browse
-MailingList: Please send questions and comments regarding Rcpp to rcpp-devel at lists.r-forge.r-project.org
-
+MailingList: Please send questions and comments regarding Rcpp to rcpp-devel at lists.r-forge.r-project.or
Modified: pkg/Rcpp/inst/NEWS.Rd
===================================================================
--- pkg/Rcpp/inst/NEWS.Rd 2013-08-31 21:13:14 UTC (rev 4468)
+++ pkg/Rcpp/inst/NEWS.Rd 2013-08-31 21:27:49 UTC (rev 4469)
@@ -4,7 +4,6 @@
\section{Changes in Rcpp version 0.10.5 (future)}{
\itemize{
-
\item Changes in Rcpp API:
\itemize{
\item Add \code{#defined(__sun)} to lists of operating systems to
@@ -24,10 +23,10 @@
\code{String} and \code{VALUE} is either a primitive type (int, double)
or a type that wraps. Examples :
\itemize{
- \item \code{std::map<int, double>} : we can make a String from an int,
- and double is primitive
- \item \code{boost::unordered_map<double, std::vector<double> >}: we can make
- a String from a double and \code{std::vector<double>} can wrap itself
+ \item \code{std::map<int, double>} : we can make a String from an int,
+ and double is primitive
+ \item \code{boost::unordered_map<double, std::vector<double> >}: we can make
+ a String from a double and \code{std::vector<double>} can wrap itself
}
Other examples of this are included at the end of the \code{wrap} unit test
file (\code{runit.wrap.R} and \code{wrap.cpp}).
@@ -36,34 +35,37 @@
\code{vector<Foo>}, ... An example is included in the \code{wrap} unit test
file
}
-
\item Changes in Attributes:
\itemize{
- \item Objects exported by a module (i.e. by a \code{RCPP_MODULE} call
- in a file that is processed by \code{sourceCpp}) are now directly
- available in the environment. We used to make the module object
- available, which was less useful.
- \item A plugin for 'openmp' has been added to support use of OpenMP.
- \item \code{Rcpp::export} now takes advantage of the more flexible
- \code{as<>}, handling constness and referenceness of the input types.
- For users, it means that for the parameters of function exported by modules,
- we can now use references, pointers and const versions of them.
- The Module.cpp file has an example.
+ \item Objects exported by a module (i.e. by a \code{RCPP_MODULE} call
+ in a file that is processed by \code{sourceCpp}) are now directly
+ available in the environment. We used to make the module object
+ available, which was less useful.
+ \item A plugin for \code{openmp} has been added to support use of OpenMP.
+ \item \code{Rcpp::export} now takes advantage of the more flexible
+ \code{as<>}, handling constness and referenceness of the input types.
+ For users, it means that for the parameters of function exported by modules,
+ we can now use references, pointers and const versions of them.
+ The file \code{Module.cpp} file has an example.
}
-
\item Changes in Modules:
\itemize{
\item We can now expose functions and methods that take
\code{T&} or \code{const T&} as arguments. In these situations
objects are no longer copied as they used to be.
}
-
\item Changes in sugar:
\itemize{
- \item \code{is_na} supports classes \code{DatetimeVector} and
- \code{DateVector}
+ \item \code{is_na} supports classes \code{DatetimeVector} and
+ \code{DateVector}
}
-
+ \item Changes in Rcpp documentation:
+ \itemize{
+ \item The vignettes have been moved from \code{inst/doc/} to the
+ \code{vignettes} directory which is now preferred
+ \item The unitTest vignette has been disabled as no longer builds
+ when called from \code{R CMD check};
+ }
\item Deprecation of \code{RCPP_FUNCTION_*}:
\itemize{
\item The macros from the \code{preprocessor_generated.h} file
More information about the Rcpp-commits
mailing list