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

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


Branch: CURRENT, Version: 1.0.13.1, Package name: R-Rcpp-1.0.13.1, 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)


   2024-02-03 22:53:13 by Makoto Fujiwara | Files touched by this commit (1)
Log message:
(devel/R-Rcpp) PKGREVISION++
   2024-02-03 22:46:08 by Makoto Fujiwara | Files touched by this commit (1)
Log message:
'(devel/R-Rcpp) +USE_CXX_FEATURES+=   c++11

Trying to fix:
https://us-central.manta.mnx.io/pkgsrc/public/reports/upstream-trunk/20240202.2249/R-Rcpp-1.0.12/install.log
using C++ compiler: 'g++ (GCC) 13.2.0'
g++ -std=gnu++17 -I"/opt/pkg/lib/R/include" -DNDEBUG \ 
-I../inst/include/  -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 \ 
-I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include \ 
-I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz \ 
-I/opt/pkg/include/ncurses    -fPIC  -pipe -O2 -msave-args \ 
-fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include \ 
-I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 \ 
-I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 \ 
-I/opt/pkg/include/harfbuzz -I/opt/pkg/include/ncurses  -c api.cpp -o api.o
In file included from \ 
/home/pbulk/build/devel/R-Rcpp/work/.buildlink/lib/R/include/R.h:73,
                 from ../inst/include/Rcpp/r/headers.h:66,
                 from ../inst/include/RcppCommon.h:30,
                 from ../inst/include/Rcpp.h:27,
                 from api.cpp:26:
/home/pbulk/build/devel/R-Rcpp/work/.buildlink/lib/R/include/R_ext/Error.h:41:16: \ 
error: '_Noreturn' does not name a type
   41 | # define NORET _Noreturn
      |                ^~~~~~~~~
   2024-01-20 04:42:09 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-Rcpp) Updated 1.0.11 to 1.0.12

2024-01-08  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION (Date, Version): Release 1.0.12

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

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

	* vignettes/rmd/Rcpp.bib: Updated to current versions of cited packages
        * inst/bib/Rcpp.bib: Idem

2023-12-27  Dirk Eddelbuettel  <edd@debian.org>

	* src/api.cpp (type2name): Refine OBJSXP return

2023-12-21  Dirk Eddelbuettel  <edd@debian.org>

	* src/api.cpp (type2name): Recognise OBJSXP added in R 4.4.0

2023-11-28  Dirk Eddelbuettel  <edd@debian.org>

	* inst/tinytest/testRcppInterfaceExporter/R/RcppExports.R: Regenerated
	* inst/tinytest/testRcppInterfaceExporter/src/RcppExports.cpp: Idem

2023-11-26  Dirk Eddelbuettel  <edd@debian.org>

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

	* src/attributes.cpp (generateCpp): Add a format string for Rf_error
	call to not run afoul of -Wformat-security

2023-11-24  Dirk Eddelbuettel  <edd@debian.org>

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

	* inst/include/Rcpp/iostream/Rstreambuf.h: Cast streamsize to int in
	two spots
	* inst/include/Rcpp/print.h (warningcall): Add missing '%s' format

2023-11-11  Dirk Eddelbuettel  <edd@debian.org>

	* vignettes/rmd/Rcpp-FAQ.Rmd: Updated and edited
	* vignettes/pdf/Rcpp-FAQ.pdf: Updated
	* vignettes/rmd/Rcpp.bib: Updated

2023-10-28  Dirk Eddelbuettel  <edd@debian.org>

	* vignettes/rmd/Rcpp-FAQ.Rmd: Updated and edited
	* vignettes/pdf/Rcpp-FAQ.pdf: Updated
	* vignettes/rmd/Rcpp.bib: Updated

2023-10-27  Dirk Eddelbuettel  <edd@debian.org>

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

	* R/tools.R: Correct missing Rd macros (spotted by R-devel CMD check)

2023-10-22 Aaron Lun <infinite.monkeys.with.keyboards@gmail.com>

	* inst/include/Rcpp/vector/MatrixColumn.h: Cast integer index
	to R_xlen_t to avoid integer overflow with large matrices.
	* inst/include/Rcpp/vector/MatrixRow.h: Ditto.
	* inst/include/Rcpp/vector/Vector.h: Remove stray cast to int
	that causes overflow when returning the end iterator.

2023-09-30  Dirk Eddelbuettel  <edd@debian.org>

	* vignettes/rmd/Rcpp-introduction.Rmd (Rcpp): Correct caption of
	third figure (cf GitHub issue #1276)
	* vignettes/pdf/Rcpp-introduction.pdf: Rebuilt

2023-08-31  Dirk Eddelbuettel  <edd@debian.org>

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

2023-08-29  Iñaki Ucar  <iucar@fedoraproject.org>

	* R/Attributes.R: Ad-hoc fix for testthat's C entrypoint in
	RcppExports.cpp

2023-08-03  Dirk Eddelbuettel  <edd@debian.org>

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

2023-08-03  Michael Chirico  <chiricom@google.com>

        * src/attributes.cpp: Directly `#include <ostream>` for `std::endl`
        * src/date.cpp: Directly `#include <R_ext/Booelan.h>` for `TRUE` and
	`FALSE`
   2023-07-22 03:46:26 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
(devel/R-Rcpp) Updated 1.0.10 to 1.0.11

2023-07-03  Dirk Eddelbuettel  <edd@debian.org>

        * DESCRIPTION (Date, Version): Release 1.0.11

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

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

	* README.md: Update usage numbers in Examples section

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

	* docker/ci-dev/Dockerfile: Make 'rm' more robust as 'rm -f'
	* docker/ci-4.2/Dockerfile: Add new container for R 4.2.3
	* .github/workflows/ci.yaml (jobs): Add entry for R 4.2.3

2023-06-12  Dirk Eddelbuettel  <edd@debian.org>

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

	* README.md: Two URL updates for appease R CMD check

	* DESCRIPTION (Encoding): Somewhat belated addition

2023-04-18  Dirk Eddelbuettel  <edd@debian.org>

	* README.md: Use app.codecov.io as base for codecov link

2023-04-12  Dirk Eddelbuettel  <edd@debian.org>

	* .github/workflows/ci.yaml: Simplified container use

2023-03-27  Dirk Eddelbuettel  <edd@debian.org>

	* .github/workflows/stale.yaml: Roll to v8

2023-03-27  I単aki Ucar  <iucar@fedoraproject.org>

	* R/Attributes.R: Remove command quoting, not needed anymore for system2()
	* inst/tinytest/test_xptr.R: Update copyright

2023-03-26  Dirk Eddelbuettel  <edd@debian.org>

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

	* inst/tinytest/test_stats.R: Revisit change from PR #1252; we now
	use a slightly smaller tolerance to accomodate old and new value

	* inst/tinytest/test_sugar.R: Protect a small number of tests on NA
	propagation from running on arm64/Darwin which requires special care

2023-03-25  I単aki Ucar  <iucar@fedoraproject.org>

	* R/Attributes.R: Switch to system2 to be able to capture stderr on error

2023-03-24  Dirk Eddelbuettel  <edd@debian.org>

	* docker/ci-dev/Dockerfile: During Debian freeze experimental repo is
	renamed which leads to a hickup here so temporarily remove list file

2023-03-24  I単aki Ucar  <iucar@fedoraproject.org>

	* inst/tinytest/test_xptr.R: Skip some tests on Windows

2023-03-19  Dirk Eddelbuettel  <edd@debian.org>

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

	* src/attributes.cpp (RExportsGenerator::writeEnd): Replace a pair of
	apostrophes with backticks in generated .Call() statemente

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

	* inst/tinytest/test_stats.R: Use more accurate value in R 4.3.0

2023-02-06  Dirk Eddelbuettel  <edd@debian.org>

	* inst/CITATION: Update to new format preferred by r-devel

2023-02-02  Dirk Eddelbuettel  <edd@debian.org>

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

	* inst/include/Rcpp/sugar/functions/sapply.h: Enable compilation
	under C++20 (using clang++ and its C++ library) via invoke_result

2023-01-29  I単aki Ucar  <iucar@fedoraproject.org>

	* inst/tinytest/test_xptr.R: Fix a couple of tests writing to stdout

2023-01-24  Dirk Eddelbuettel  <edd@debian.org>

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

2023-01-24  Lukasz Laniewski-Wollk  <llaniewski@meil.pw.edu.pl>

	* R/RcppLdpath.R: CxxFlags() now quotes only non-standard paths on linux
   2023-06-01 15:21:01 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-Rcpp) Updated 1.0.9 to 1.0.10

2023-01-08  Dirk Eddelbuettel  <edd@debian.org>

	* inst/include/Rcpp/String.h: Address clang++-14 conversion warning
	* inst/include/Rcpp/sugar/functions/mean.h: Idem
	* inst/include/Rcpp/vector/Vector.h: Idem
	* src/attributes.cpp: Idem
	* src/date.cpp: Idem

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

	* .github/workflows/docker.yaml (jobs): Update several actions

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

	* .github/workflows/stale.yaml (jobs): Update actions/stale@v6

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

	* .github/workflows/ci.yaml (jobs): Update to actions/checkout@v3

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

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

2022-10-27  Kevin Ushey  <kevinushey@gmail.com>

	* inst/tinytest/cpp/coerce.cpp: add coerce unit tests
	* inst/tinytest/test_coerce.R: idem

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

	* inst/include/Rcpp/internal/r_coerce.h (coerce_to_string<RAWSXP >):
	Replace last remaining sprintf with snprintf

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

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

	* R/Attributes.R (sourceCpp): Protect path to binary from spaces

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

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

	* inst/tinytest/test_dataframe.R (test.DataFrame.PushZeroLength): Add
	new test
	* inst/tinytest/cpp/DataFrame.cpp (DataFrame_PushOnEmpty): C++
	support for new test

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

	* inst/include/Rcpp/DataFrame.h (set_type_after_push): Allow zero-row
	data.frame objects to be grown by push_{back,front}()

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

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

2022-09-23  Kevin Ushey  <kevinushey@gmail.com>

	* R/Module.R: Force 'finalize' method to be materialized

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

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

	* R/Attributes.R: Support C++20, C++23 and C++2b (for experimental /
	incomplete support) via new plugins

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

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

2022-07-23  Iñaki Ucar  <iucar@fedoraproject.org>

	* inst/include/Rcpp/r/headers.h: Unwind protection is enabled by default
	unless `RCPP_NO_UNWIND_PROTECT` is defined (`RCPP_USE_UNWIND_PROTECT` is
	not checked anymore and has no effect)
	* inst/include/Rcpp/vector/Vector.h: Switch evaluation to `Rcpp_eval`
	* R/Attributes.R: `[[Rcpp::plugins(unwindProtect)]]` is deprecated
	* inst/tinytest/cpp/stack.cpp: Adapted
	* inst/tinytest/test_exceptions.R: Adapted
	* inst/tinytest/test_interface.R: Adapted
	* inst/tinytest/testRcppInterfaceExporter/src/config.h: Removed

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

	* docker/ci-4.1/Dockerfile: Add Dockerfile for 4.1 series
	* .github/workflows/ci.yaml: Add 4.1 to CI matrix
	* .github/workflows/docker.yaml: Do not rebuild versioned ones
   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