The RcppGSL matrix and vector class now keep track of object
allocation and can therefore automatically free allocated object in
the destructor. Explicit
x.free() use is still supported.
The matrix and vector classes now support const reference semantics in the interfaces (thanks to PR #7 by Dan Dillon)
The matrix_view and vector_view classes are reorganized to better support const arguments (thanks to PR #8 and #9 by Dan Dillon)
Shorthand forms such as
Rcpp::Matrix have been added for
int vectors and matrices including views.
Examples such as
fastLm can now be written in a much
cleaner and shorter way as GSL objects can appear in the function
signature and without requiring explicit
.free() calls at the
The included examples, as well as the introductory vignette, have been updated accordingly.
colnorm function in the included example package
was rewritten to use Rcpp Attributes, the example package was
updated and its version number increased to 0.0.3.
The unit tests also use the updated version of the example package.
The package, and the included example package, were updated
throughout to conform to the current
R CMD check standards.
The RcppGSL-intro vignette was updated throughout.
The Travis CI integration now uses r-cran-* packages which leads to faster tests.
Two new helper function to turn the default GSL error handler off (and to restore it) were added. The default handler is now turned off when the package is attached so that GSL will no longer abort an R session on error. Users will have to check the error code.
RcppGSL-intro.Rnw vignette was expanded with a
short section on the GSL error handler (thanks to Qiang Kou).
src/Makevars.in was pruned of GNU make features at
the request of the CRAN Maintainers.
configure were updated, and
RcppGSL-intro.Rnw vignette was updated for its look
A subtle bug (tickled only by clang on some OS versions) in vector and matrix view initialization was corrected by Kevin Ushey
Added new example based on B-splines example in GSL manual illustrating simple GSL use via Rcpp attributes
Vignette compilation has been reverted to using highlight since version 0.4.2 or greater can be used as a vignette engine (with R 3.0.* or later).
Vignette compilation is now being done by
R CMD build
as R 3.0.0 supports different vignette engines, so the vignette
build process has been simplified. A convenience helper script has
also been added for command-line builds.
Unit tests now use
sourceCpp() instead of
cxxfunction() from the inline package
DESCRIPTION file now uses
Depends: Rcpp) to permit building of the
The package now takes advantage of the simplified build process available with Rcpp (>= 0.11.0)
Similar updates to the build process were made for the example package included with RcppGSL
summary() for fastLm() now displays more information
fastLmPure() now uses same argument order as R's lm.fit()
Added more unit tests for fastLm() and related functions
Export and document S3 methods in NAMESPACE and manual page as such
Vignettes have been moved to the
Main vignette renamed to
RcppGSL-intro.pdf to use a
filename different from the package reference manual
NEWS file converted to .Rd format
inline plugin support function no longer uses assignInNamespace but deploys a small package-global enviornment
Unit tests produce a summary vignette as for some of the other packages
The documentation Makefile now uses the $R_HOME environment variable
The documentation Makefile no longer calls clean in the all target
Initial CRAN release with basic functionality for vectors and matrices
A vignette provides an introduction and documentation about the package
An example package RcppGSLExample provides a complete stanza for creating your own package using RcppGSL (and the GSL and Rcpp)