Up to [cvs.NetBSD.org] / pkgsrc / devel / R-Rcpp / patches
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
R-Rcpp: update to 1.1.2.
Committed during the freeze since it should help with the execinfo
problems on *BSD.
Changes in Rcpp release version 1.1.2 (2026-07-01)
Changes in Rcpp API:
Use of execinfo.h is again conditional to avoid build complexity (Dirk in #1445 addressing #1442)
An internal state component for Datetime is now int (Dirk in #1448 and #1449 fixing #1447)
Three new (in R 4.6.0) attribute accessors are used conditionally (Dirk in #1450 closing #1432)
An UBSAN error in the Sugar-based NA comparison has been corrected (Iñaki in #1453 fixing #1452)
Treatment of Inf outside of integer range in Sugar function has been corrected (Iñaki in #1458 fixing #1455)
Integer overflow protection has been added for sugar functions (Iñaki in #1457 fixing #1454)
The parent environment is now accessed via R_ParentEnv (Dirk in #1460 fixing #1459)
Change to returning dataptr again for better handling of empty vectors (Iñaki in #1462 fixing #1461)
Undefined behavior errors in use of ListOf proxies have been addressed (Iñaki in #1464 fixing #1463)
Under newer R version, R_UnboundValue is no longer used (Iñaki in #1466 fixing #1465)
New R API access point R_getRegisteredNamespace() is used with current R versions (Dirk in #1469 fixing #1468)
The Nullable::as() exporter now uses an explicit cast to the templated type (Dirk in #1471 fixing #1470)
A memory leak in the variadic Rcpp::warning() template has been fixed (Kevin in #1475 fixing #1474)
The Nullable::operatorT() has been added as a 'opt-out' (Dirk in #1477 with coordination in #1472)
Add templated integer-index overload for operator[] on small systems such as WASM (Jeroen Ooms in #1482)
The attribute accessors in AttributeProxyPolicy no longer rely on get__() (Kevin in #1484 fixing #1483)
Changes in Rcpp Documentation:
Reference in the bibliography used by the package vignettes have been updated.
Changes in Rcpp Deployment:
Excute permissions are set consistently on scripts with shebangs (Mattias Ellert in #1467)
R 4.5.* has been added to the CI matrix (Dirk in #1476)
Three nag messages issued when obsolete build flag accessors are used now show Rcpp::: (Dirk in #1480 fixing #1456)
Reference GitHub Actions have been updated to their current versions (Dirk in #1481)
Non-release Changes:
A non-release hotfix 1.1.1-1 used by CRAN accommodates breaking changes to the API in R 4.6.0. It would be nice to have the same level of release management in R itself that CRAN expects from us.
(devel/R-Rpp) Trying to fix build either on *BSD and SmartOS by SUBST Tested on NetBSD/amd64 11.99.6 and SmartOS SunOS smaortOS 5.11 joyent_20260528T000227Z i86pc i386 i86pc To my knowledge, neither (ifneq and endif) nor (if .endif) clause in src/Makevars does work, sorry, so SUBST frame work are used for now, please improve this changes, thanks
(devel/R-Rcpp) Experimental (= not tested) fix for SmartOS
(devel/R-Rcpp) Updated 1.0.14 to 1.1.1.1.1
(pkgsrc)
- Three patches dropped
- Added patch for src/Makevars (by looking at devel/R-fs)
to take care the issue of not finding the function backtrace_symbol
(Atsushi Toyokura helped me a lot on this modification)
- Tested only on NetBSD (9.4), Linux and SunOS are not tested, sorry
(upstream)
Changes in Rcpp non-release version 1.1.1-1.1 (2026-04-19):
* Please see pr #1466 addressing #1465 for context (plus change
from #1460, and R_getRegisteredNamespace from #1469)
* This is an unplanned, unscheduled and uncalled for
non-release made solely to unplug CRAN from late-breaking
changes in R 4.6.0
* Version 1.1.1-1.1 is identical to 1.1.1-1 apart from
DESCRIPTION, ChangeLog and NEWS and exist solely to increment
the version counter.
Changes in Rcpp release version 1.1.1 (2026-01-08):
* Changes in Rcpp API:
* An unused old R function for a compiler version check has
been removed after checking no known package uses it
(Dirk in #1395)
* A narrowing warning is avoided via a cast (Dirk in #1398)
* Demangling checks have been simplified (I<c3><b1>aki in
#1401 addressing #1400)
* The treatment of signed zeros is now improved in the
Sugar code (I<c3><b1>aki in #1404)
* Preparations for phasing out use of 'Rf_error' have been
made (I<c3><b1>aki in #1407)
* The long-deprecated function 'loadRcppModules()' has been
removed (Dirk in #1416 closing #1415)
* Some non-API includes from R were refactored to
accommodate R-devel changes (I<c3><b1>aki in #1418
addressing #1417)
* An accessor to 'Rf_rnbeta' has been removed (Dirk in
#1419 also addressing #1420)
* Code accessing non-API 'Rf_findVarInFrame' now uses
'R_getVarEx' (Dirk in #1423 fixing #1421)
* Code conditional on the R version now expects at least R
3.5.0; older code has been removed (Dirk in #1426 fixing
#1425)
* The non-API 'ATTRIB' entry point to the R API is no
longer used (Dirk in #1430 addressing #1429)
* The unwind-protect mechanism is now used unconditionally
(Dirk in #1437 closing #1436)
* Changes in Rcpp Attributes:
* The OpenMP plugin has been generalized for different
macOS compiler installations (Kevin in #1414)
* Changes in Rcpp Documentation:
* Vignettes are now processed via a new "asis" processor
adopted from 'R.rsp' (Dirk in #1394 fixing #1393)
* R is now cited via its DOI (Dirk)
* A (very) stale help page has been removed (Dirk in #1428
fixing #1427)
* The main README.md was updated emphasizing r-universe in
favor of the local drat repos (Dirk in #1431)
* Changes in Rcpp Deployment:
* A temporary change in R-devel concerning NA part in
complex variables was accommodated, and then reverted
(Dirk in #1399 fixing #1397)
* The macOS CI runners now use macos-14 (Dirk in #1405)
* A message is shown if 'R.h' is included before Rcpp
headers as this can lead to errors (Dirk in #1411 closing
#1410)
* Old helper functions use 'message()' to signal they are
not used, deprecation and removal to follow (Dirk in
#1413 closing #1412)
* Three tests were being silenced following #1413 (Dirk in
#1422)
* The heuristic whether to run all available tests was
refined (Dirk in #1434 addressing #1433)
* Coverage has been tweaked via additional '#nocov' tags
(Dirk in #1435)
* Non-release Changes:
* Two interim non-releases 1.1.0.8.1 and .2 were made in
order to unblock CRAN due to changes in R-devel rather
than Rcpp
Changes in Rcpp release version 1.1.0 (2025-07-01):
* Changes in Rcpp API:
* C++11 is now the required minimal C++ standard
* The 'std::string_view' type is now covered by 'wrap()'
(Lev Kandel in #1356 as discussed in #1357)
* A last remaining 'DATAPTR' use has been converted to
'DATAPTR_RO' (Dirk in #1359)
* Under R 4.5.0 or later, 'R_ClosureEnv' is used instead of
'CLOENV' (Dirk in #1361 fixing #1360)
* Use of 'lsInternal' switched to 'lsInternal3' (Dirk in
#1362)
* Removed compiler detection macro in a header cleanup
setting C++11 as the minunum (Dirk in #1364 closing
#1363)
* Variadic templates are now used onconditionally given
C++11 (Dirk in #1367 closing #1366)
* Remove 'RCPP_USING_CXX11' as a '#define' as C++11 is now
a given (Dirk in #1369)
* Additional cleanup for '__cplusplus' checks (I<c3><b1>aki
in #1371 fixing #1370)
* Unordered set construction no longer needs a macro for
the pre-C++11 case (I<c3><b1>aki in #1372)
* Lambdas are supported in a Rcpp Sugar functions
(I<c3><b1>aki in #1373)
* The Date(time)Vector classes now have default ctor (Dirk
in #1385 closing #1384)
* Fixed an issue where Rcpp::Language would duplicate its
arguments (Kevin in #1388, fixing #1386)
* Changes in Rcpp Attributes:
* The C++26 standard now has plugin support (Dirk in #1381
closing #1380)
* Changes in Rcpp Documentation:
* Several typos were correct in the NEWS file (Ben Bolker
in #1354)
* The Rcpp Libraries vignette mentions 'PACKAGE_types.h' to
declare types used in 'RcppExports.cpp' (Dirk in #1355)
* The vignettes bibliography file was updated to current
package versions, and now uses doi references (Dirk in
#1389)
* Changes in Rcpp Deployment:
* 'Rcpp.package.skeleton()' creates 'URL' and 'BugReports'
if given a GitHub username (Dirk in #1358)
* R 4.4.* has been added to the CI matrix (Dirk in #1376)
* Tests involving NA propagation are skipped under
linux-arm64 as they are under macos-arm (Dirk in #1379
closing #1378)