getRcppVersion | R Documentation |
Helper function to report the package version of the R installation.
getRcppVersion(devel = FALSE)
devel |
An logical value indicating if the development or release version number should be returned, default is release. |
While packageVersion(Rcpp)
exports the version registers in
DESCRIPTION
, this version does get incremented more easily
during development and can therefore be higher than the released
version. The actual #define
long used at the C++ level
corresponds more to an ‘API Version’ which is now provided
by this function, and use for example in the package skeleton
generator.
A package_version
object with either the release
or development version.
Dirk Eddelbuettel
packageVersion
,
Rcpp.package.skeleton
getRcppVersion()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.