./devel/R-Rcpp, Seamless R and C++ integration

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version:, Package name: R-Rcpp-, Maintainer: pkgsrc-users

The Rcpp package provides R functions as well as a C++ library which
facilitate the integration of R and C++.

R data types (SEXP) are matched to C++ objects in a class hierarchy.
All R types are supported (vectors, functions, environment, etc ...)
and each type is mapped to a dedicated class. For example, numeric
vectors are represented as instances of the Rcpp::NumericVector class,
environments are represented as instances of Rcpp::Environment,
functions are represented as Rcpp::Function, etc ... The
"Rcpp-introduction" vignette provides a good entry point to Rcpp.

Rcpp also provides Rcpp modules, a framework that allows exposing C++
functions and classes to the R level. The "Rcpp-modules" vignette
details the current set of features of Rcpp-modules.

Rcpp includes a concept called Rcpp sugar that brings many R functions
into C++. Sugar takes advantage of lazy evaluation and expression
templates to achieve great performance while exposing a syntax that is
much nicer to use than the equivalent low-level loop code. The
"Rcpp-sugar" vignette gives an overview of the feature.

Additional documentation is available via the paper by Eddelbuettel
and Francois (2011, JSS) paper and the book by Eddelbuettel (2013,
Springer); see 'citation("Rcpp")' for details.

Required to run:

Required to build:

Master sites: (Expand)

Version history: (Expand)

CVS history: (Expand)

   2020-05-13 13:18:35 by Jonathan Perkin | Files touched by this commit (1)
Log message:
R-Rcpp: Catch more .deb files to skip checks for.
   2020-05-13 05:28:31 by Roland Illig | Files touched by this commit (1)
Log message:
devel/R-Rcpp: skip nonexistent file
   2020-04-29 04:15:52 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
(devel/R-Rcpp) Updated to 1.0.3 to

 - Add two more TEST_DEPENDS+ , but still R-tinytest is necessary for test

 - pick the lines from:
   w3m -dump https://cran.r-project.org/web/packages/Rcpp/news.html | cat -
Changes in Rcpp patch release version (2020-04-02)

  * Changes in Rcpp API:

      + The exception handler code in #1043 was updated to ensure proper
        include behavior (Kevin in #1047 fixing #1046).

      + A missing Rcpp_list6 definition was added to support R 3.3.* builds
        (Davis Vaughan in #1049 fixing #1048).

      + Missing Rcpp_list{2,3,4,5} definition were added to the Rcpp namespace
        (Dirk in #1054 fixing #1053).

      + A further updated corrected the header include and provided a missing
        else branch (Mattias Ellert in #1055).

      + Two more assignments are protect with Rcpp::Shield (Dirk in #1059)

  * Changes in Rcpp Attributes:

      + Empty strings are not passed to R CMD SHLIB which was seen with R 4.0.0
        on Windows (Kevin in #1062 fixing #1061).

  * Changes in Rcpp Deployment:

      + Travis CI unit tests now run a matrix over the versions of R also
        tested at CRAN (rel/dev/oldrel/oldoldrel), and coverage runs in
        parallel for a net speed-up (Dirk in #1056 and #1057).

Changes in Rcpp version 1.0.4 (2020-03-13)

  * Changes in Rcpp API:

      + Safer Rcpp_list*, Rcpp_lang* and Function.operator() (Romain in #1014,

      + A number of #nocov markers were added (Dirk in #1036, #1042 and #1044).

      + Finalizer calls clear external pointer first (Kirill M?ller and Dirk in

      + Scalar operations with a rhs matrix no longer change the matrix value
        (Qiang in #1040 fixing (again) #365).

      + Rcpp::exception and Rcpp::stop are now more thread-safe (Joshua
        Pritikin in #1043).

  * Changes in Rcpp Attributes:

      + The cppFunction helper now deals correctly with mulitple depends
        arguments (TJ McKinley in #1016 fixing #1017).

      + Invisible return objects are now supported via new option (Kun Ren in #
        1025 fixing #1024).

      + Unavailable packages referred to in LinkingTo are now reported (Dirk in
        #1027 fixing #1026).

      + The sourceCpp function can now create a debug DLL on Windows (Dirk in #
        1037 fixing #1035).

  * Changes in Rcpp Documentation:

      + The .github/ directory now has more explicit guidance on contributing,
        issues, and pull requests (Dirk).

      + The Rcpp Attributes vignette describe the new invisible return object
        option (Kun Ren in #1025).

      + Vignettes are now included as pre-made pdf files (Dirk in #1029)

      + The Rcpp FAQ has a new entry on the recommended importFrom directive
        (Dirk in #1031 fixing #1030).

      + The bib file for the vignette was once again updated to current package
        versions (Dirk).

  * Changes in Rcpp Deployment:

      + Added unit test to check if C++ version remains remains aligned with
        the package number (Dirk in #1022 fixing #1021).

      + The unit test system was switched to tinytest (Dirk in #1028, #1032, #
   2020-03-15 14:34:37 by Roland Illig | Files touched by this commit (1)
Log message:
devel/R-Rcpp: remove nonexistent dependency R-rbenchmark
   2020-01-11 15:12:07 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
(devel/R-Rcpp) Updated to 1.0.3
(pkgsrc changes):
   - Add some TEST_DEPENDS, but make test does not complete yet
   - Still more TEST_DEPENDS are necessary (of which not packaged yet)

(upstream changes):
  ( https://cran.r-project.org/web/packages/Rcpp/news.html )
Changes in Rcpp version 1.0.3 (2019-11-08)

- Changes in Rcpp API:
     Compilation can be sped up by skipping Modules headers via a
     toggle RCPP_NO_MODULES (Kevin in #995 for #993).

     Compilation can be sped up by toggling RCPP_NO_RTTI which
     implies RCPP_NO_MODULES (Dirk in #998 fixing #998).

     XPtr tags are now preserved in as<> (Stephen Wade in #1003
     fixing #986, plus Dirk in #1012).

     A few more temporary allocations are now protected from
     garbage collection (Romain Francois in #1010, and Dirk in

- Changes in Rcpp Modules:
     Improved initialization via explicit Rcpp:: prefix (Riccardo
     Porreca in #980).

- Changes in Rcpp Deployment:
     A unit test for Rcpp Class exposure was updated to not fail
     under r-devel (Dirk in #1008 fixing #1006).

- Changes in Rcpp Documentation:
     The Rcpp-modules vignette received a major review and
     edit (Riccardo Porreca in #982).

     Minor whitespace alignments and edits were made in three
     vignettes following the new pinp release (Dirk).

     New badges for DOI and CRAN and BioConductor reverse
     dependencies have been added to README.md (Dirk).

     Vignettes are now included pre-made (Dirk in #1005
     addressing #1004)).

     The Rcpp FAQ has two new entries on 'no modules / no rtti'
     and exceptions across shared libraries (Dirk in #1009).
   2019-09-26 02:57:29 by Thomas Klausner | Files touched by this commit (1)
Log message:
R-Rcpp: do not check *.deb files for RELRO.
   2019-08-08 21:53:58 by Brook Milligan | Files touched by this commit (189) | Package updated
Log message:
Update all R packages to canonical form.

The canonical form [1] of an R package Makefile includes the

- The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as
  needed), and CATEGORIES.

- HOMEPAGE is not present but defined in math/R/Makefile.extension to
  refer to the CRAN web page describing the package.  Other relevant
  web pages are often linked from there via the URL field.

This updates all current R packages to this form, which will make
regular updates _much_ easier, especially using pkgtools/R2pkg.

[1] http://mail-index.netbsd.org/tech-pkg/2 … 21711.html
   2019-04-20 14:46:05 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.0.1

Upstream changes:
Changes in Rcpp version 1.0.1 (2019-03-17)

    Changes in Rcpp API:

        Subsetting is no longer limited by an integer range (William Nolan in \ 
#920 fixing #919).

        Error messages from subsetting are now more informative (Qiang and Dirk).

        Shelter increases count only on non-null objects (Dirk in #940 as \ 
suggested by Stepan Sindelar in #935).

        AttributeProxy::set() and a few related setters get Shiled<> to \ 
ensure rchk is happy (Romain in #947) fixing #946).

    Changes in Rcpp Attributes:

        A new plugin was added for C++20 (Dirk in #927)

        Fixed an issue where 'stale' symbols could become registered in \ 
RcppExports.cpp, leading to linker errors and other related issues (Kevin in \ 
#939 fixing #733 and #934).

        The wrapper macro gets an UNPROTECT to ensure rchk is happy (Romain in \ 
#949) fixing #948).

    Changes in Rcpp Documentation:

        Three small corrections were added in the 'Rcpp Quickref' vignette \ 
(Zhuoer Dong in #933 fixing #932).

        The Rcpp-modules vignette now has documentation for .factory (Ralf \ 
Stubner in #938 fixing #937).

    Changes in Rcpp Deployment:

        Travis CI again reports to CodeCov.io (Dirk and Ralf Stubner in #942 \ 
fixing #941).