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

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


Branch: CURRENT, Version: 1.0.9, Package name: R-Rcpp-1.0.9, 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:
[math/R]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2022-12-18 01:07:50 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-Rcpp) Updated 1.0.8.3 to 1.0.9

2022-07-02  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION (Date, Version): Release 1.0.9

        * inst/include/Rcpp/config.h: Idem
        * inst/NEWS.Rd: Idem
        * vignettes/rmd/Rcpp.bib: Idem
        * inst/bib/Rcpp.bib: Idem
	* vignettes/pdf/*: Rebuilt

2022-07-01  Dirk Eddelbuettel  <edd@debian.org>

	* man/dependsAttribute.Rd: Use https in URL
	* man/exportAttribute.Rd: Idem
	* man/interfacesAttribute.Rd: Idem
	* DESCRIPTION (URL): Idem
	* README.md: Idem, use Amazon page for Rcpp book

2022-05-26  Dirk Eddelbuettel  <edd@debian.org>

	* DESCRIPTION (Version, Date): Roll minor version
	* inst/include/Rcpp/config.h: Idem

2022-05-25  Dirk Eddelbuettel  <edd@debian.org>

	* inst/tinytest/test_string.R: Add C++11 conditioning for new unit tests

2022-05-23  Dean Scarff  <dos@scarff.id.au>

	* inst/include/Rcpp/String.h: Make less copies of strings via move
	semantics and preserving the buffer/SEXP representation when copying
	* inst/include/RcppCommon.h: include <utility> for std::move
	* inst/tinytest/cpp/String.cpp: Add unit tests
	* inst/tinytest/test_string.R: Add unit tests

2022-05-12  Dirk Eddelbuettel  <edd@debian.org>

	* docker/ci/Dockerfile: Added xml2, also use more r-cran-* binaries

2022-05-12  Marco Colombo <mar.colombo13@gmail.com>

	* vignettes/rmd/Rcpp-FAQ.Rmd: Fixed typo

2022-04-03  Dirk Eddelbuettel  <edd@debian.org>

	* vignettes/rmd/Rcpp-FAQ.Rmd: Add paragraph about Date(time) not
	being aimed at parsing large quantities at once
	* vignettes/pdf/Rcpp-FAQ.pdf: Idem

	* vignettes/rmd/Rcpp.bib: Add four entries
        * inst/bib/Rcpp.bib: Idem

2022-03-14  Dirk Eddelbuettel  <edd@debian.org>

	* DESCRIPTION (Version, Date): Roll minor version
	* inst/include/Rcpp/config.h: Idem
   2022-04-12 16:37:21 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-Rcpp) Updated 1.0.8.2 to 1.0.8.3

2022-03-13  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION (Version, Date): Roll minor version
        * inst/include/Rcpp/config.h: Idem

        * tests/tinytest.R: Disable full tests on four-digits release to not
        exceed CRAN test time preference
   2022-03-15 01:16:10 by Makoto Fujiwara | Files touched by this commit (1)
Log message:
(devel/R-Rcpp) +TEST_DEPENDS+= tex-inconsolata, but make test not pass yet
   2022-03-14 12:25:38 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
(devel/R-Rcpp) Updated 1.0.7 to 1.0.8.2

2022-03-10  Dirk Eddelbuettel  <edd@debian.org>

	* DESCRIPTION (Version, Date): Roll minor version
	* inst/include/Rcpp/config.h: Idem

	* inst/tinytest/cpp/sugar.cpp: Also conditionally replace
	std::unary_function with std::function
	* vignettes/rmd/Rcpp-sugar.Rmd: Replace std::unary_function example
	with std::function (implicitly requiring C++ in vignette example)
	* vignettes/rmd/Rcpp-FAQ.Rmd: Idem

2022-03-09  Dirk Eddelbuettel  <edd@debian.org>

	* inst/include/Rcpp/Language.h: To quieten compilations, replace
	std::(unary|binary)_function with std::function for C++11 or later
	* inst/include/Rcpp/StringTransformer.he: Idem

2022-01-21  Dirk Eddelbuettel  <edd@debian.org>

	* DESCRIPTION (Version, Date): Roll minor version
	* inst/include/Rcpp/config.h: Idem

2022-01-20  Dirk Eddelbuettel  <edd@debian.org>

	* src/attributes.cpp: Make three small changes to permit compilation
	under C++98 now (while we consider just turning to C++11 overall)

2022-01-14  Dirk Eddelbuettel  <edd@debian.org>

	* inst/tinytest/test_packageversion.R: Comparison to 'dev' revision
	version now tolerant of optional trailing zero (e.g. 1.0.8.0)

2022-01-11  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION (Date, Version): Release 1.0.8

        * inst/include/Rcpp/config.h: Idem
        * inst/NEWS.Rd: Idem
        * vignettes/rmd/Rcpp.bib: Idem
        * inst/bib/Rcpp.bib: Idem
	* vignettes/pdf/*: Rebuilt

	* inst/include/Rcpp/r/headers.h: STRICT_R_HEADERS set by default
	unless override RCPP_NO_STRICT_HEADERS is set (cf issue #1158)

2022-01-10  Dirk Eddelbuettel  <edd@debian.org>

        * vignettes/rmd/Rcpp.bib: Updated CRAN and R references
        * inst/bib/Rcpp.bib: Idem
        * vignettes/rmd/getCurrentVersionsOfCitedPackages.R: Updated

2022-01-01  Dirk Eddelbuettel  <edd@debian.org>

	* DESCRIPTION (Version, Date): Roll minor version

	* inst/NEWS.Rd: Added entries for a few PRs since last release

	* vignettes/rmd/Rcpp.bib: Provide both url and doi entries
	* inst/bib/Rcpp.bib: Idem

2021-12-28  Dirk Eddelbuettel  <edd@debian.org>

	* README.md: Add section on performance

2021-12-24  Dirk Eddelbuettel  <edd@debian.org>

	* README.md: Update usage counts

2021-12-16  Dirk Eddelbuettel  <edd@debian.org>

	* vignettes/rmd/Rcpp.bib: Update JSS references to new doi scheme,
	update http URL links to https
	* inst/bib/Rcpp.bib: Idem

2021-12-10  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION (Version, Date): Roll minor version
	* inst/include/Rcpp/config.h: Idem

2021-12-08  Dirk Eddelbuettel  <edd@debian.org>

	* inst/include/Rcpp/Rcpp: Added as new entry point
	* inst/include/Rcpp/Light: Added as lighter-weight entry point
	* inst/include/Rcpp/Lighter: Idem
	* inst/include/Rcpp/Lightest: Idem

2021-11-30  Dirk Eddelbuettel  <edd@debian.org>

	* README.md: Remove Travis badge
	* .travis.yml: Removed

2021-11-15  Dirk Eddelbuettel  <edd@debian.org>

	* docker/ci/Dockerfile: Minor cleanup

2021-11-14  Dirk Eddelbuettel  <edd@debian.org>

	* R/RcppLdpath.R: Simplified as we no longer need to worry about CXX0X

2021-11-11  Kevin Ushey  <kevinushey@gmail.com>

	* R/RcppLdpath.R: CxxFlags() now quotes its include path

2021-10-15  Travers Ching  <traversc@gmail.com>

	* inst/tinytest/testRcppAttributePackage: Tests `signature` attribute
	* inst/tinytest/test_attribute_package.R: Tests `signature` attribute

2021-10-13  Dirk Eddelbuettel  <edd@debian.org>

	* README.md: Switch JSS url to doi form per JSS request
	* man/Rcpp-package.Rd: Idem
	* man/RcppLdFlags.Rd: Idem
	* inst/CITATION: Only use doi entries in three citEntry blocks

2021-10-11  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION (Version, Date): Roll minor version
	* inst/include/Rcpp/config.h: Idem

	* .codecov.yml (comment): Disable codecov comments on PRs

2021-10-10  Travers Ching  <traversc@gmail.com>

	* src/attributes.cpp: Add `signature` attribute and syntax checks

2021-10-02  Dirk Eddelbuettel  <edd@debian.org>

	* .github/workflows/docker.yaml (jobs): Add container builder action

2021-10-01  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION (Version, Date): Roll minor version
        * inst/include/Rcpp/config.h: Idem

	* inst/NEWS.Rd: Updated

2021-09-29  IƱaki Ucar  <iucar@fedoraproject.org>

	* inst/include/Rcpp/XPtr.h: Check for new define
        `RCPP_USE_FINALIZE_ON_EXIT` to flip the value of XPtr's `finalizeOnExit`
        parameter from false (default) to true.
	* inst/tinytest/test_xptr.R: Added test for this functionality.

2021-09-27  Dirk Eddelbuettel  <edd@debian.org>

	* README.md: Added total downloads badge

2021-09-06  Dirk Eddelbuettel  <edd@debian.org>

	* docker/ci-4.0/Dockerfile: Using R 4.0.5 to build ci-4.0
	* .github/workflows/ci.yaml (jobs): Also run against R 4.0.*

2021-09-05  Dirk Eddelbuettel  <edd@debian.org>

	* inst/examples/Misc/piSugar.cpp (piSugar): Remove spurious call to
	RNGScope we do not need with Rcpp Attributes
	* inst/examples/RcppGibbs/RcppGibbs.R (Rgibbs): Comment on two uses
	of RNGScope as historical in pre-Attributes code
	* inst/examples/RcppGibbs/timeRNGs.R: Idem for one more

2021-08-05  Dirk Eddelbuettel  <edd@debian.org>

	* inst/bib/Rcpp.bib: Use https for CRAN URLs
	* vignettes/rmd/Rcpp.bib: Idem

2021-07-25  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION (Version, Date): Roll minor version
        * inst/include/Rcpp/config.h: Idem

2021-07-24  Dirk Eddelbuettel  <edd@debian.org>

	* vignettes/rmd/Rcpp-FAQ.Rmd: New entry on growing vectors

2021-07-08  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION (Version, Date): Roll minor version
        * inst/include/Rcpp/config.h: Idem

	* cleanup: Check for optional vignettes/rmd before trying to access it
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-02-06 15:41:29 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
(devel/R-Rcpp) Updated 1.0.5 to 1.0.6

(pkgsrc)
  - Add tex-ec, tex-pdflscape for TEST_DEPENDS.
   Check the permision of /var/lib/texmf/fonts/pk/ if make test fails with
   !pdfTeX error: pdflatex (file tcrm1000): Font tcrm1000 at 600 not found

(upstream)
Info by w3m -dump https://cran.r-project.org/web/packages/Rcpp/news.html | cat -
Changes in Rcpp patch release version 1.0.6 (2021-01-14)

  - Changes in Rcpp API:
      * Replace remaining few uses of EXTPTR_PTR with R_ExternalPtrAddr (Kevin
        in #1098 fixing #1097).
      * Add push_back and push_front for DataFrame (Walter Somerville in #1099
        fixing #1094).
      * Remove a misleading-to-wrong comment (Mattias Ellert in #1109 cleaning
        up after #1049).
      * Address a sanitizer report by initializing two private bool variables
        (Benjamin Christoffersen in #1113).
      * External pointer finalizer toggle default values were corrected to true
        (Dirk in #1115).
  - Changes in Rcpp Documentation:
      * Several URLs were updated to https and/or new addresses (Dirk).
  - Changes in Rcpp Deployment:
      * Added GitHub Actions CI using the same container-based setup used
        previously, and also carried code coverage over (Dirk in #1128).
  - Changes in Rcpp support functions:
      * Rcpp.package.skeleton() avoids warning from R. (Dirk)
   2020-10-04 08:11:25 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
(devel/R-Rcpp) Updated 1.0.4.6 to 1.0.5

(pkgsrc)
  - several adding/adjust on TEST_DEPENDS lines

(upstream)
  Info by w3m -dump https://cran.r-project.org/web/packages/Rcpp/news.html | cat -
  (there was not explicit 1.0.4.6 line in this file, below are after 1.0.4)

Changes in Rcpp patch release version 1.0.5 (2020-07-01)

  * 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 protected with Rcpp::Shield (Dirk in #1059).

      + One call to abs is now properly namespaced with std:: (Uwe Korn in #
        1069).

      + String object memory preservation was corrected/simplified (Kevin in #
        1082).

  * 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).

      + The short_file_name() helper function is safer with respect to
        temporaries (Kevin in #1067 fixing #1066, and #1071 fixing #1070).

  * Changes in Rcpp Sugar:

      + Two sample() objects are now standard vectors and not R_alloc created
        (Dirk in #1075 fixing #1074).

  * Changes in Rcpp support functions:

      + Rcpp.package.skeleton() adjusts for a (documented) change in R 4.0.0
        (Dirk in #1088 fixing #1087).

  * Changes in Rcpp Documentation:

      + The pdf file of the earlier introduction is again typeset with
        bibliographic information (Dirk).

      + A new vignette describing how to package C++ libraries has been added
        (Dirk in #1078 fixing #1077).

  * 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).

      + The exceptions test is now partially skipped on Solaris as it already
        is on Windows (Dirk in #1065).

      + The default CI runner was upgraded to R 4.0.0 (Dirk).

      + The CI matrix spans R 3.5, 3.6, r-release and r-devel (Dirk).