Skip to content

Commit

Permalink
(lang/R-cpp11) Updated 0.4.3 to 0.4.7
Browse files Browse the repository at this point in the history
# cpp11 0.4.7

* Internal changes requested by CRAN to fix invalid format string tokens
  (@paleolimbot, #345).

# cpp11 0.4.6

* R >=3.5.0 is now required to use cpp11. This is in line with (and even goes
  beyond) the tidyverse standard of supporting the previous 5 minor releases of
  R. It also ensures that `R_UnwindProtect()` is available to avoid C++ memory
  leaks (#332).

* `cpp11::preserved.release_all()` has been removed. This was intended to
  support expert developers on R <3.5.0 when cpp11 used a global protection
  list. Since cpp11 no longer uses a global protection list and requires R
  >=3.5.0, it is no longer needed. As far as we can tell, no package was
  actively using this (#332).

* cpp11 now creates one protection list per compilation unit, rather than one
  global protection list shared across compilation units and across packages.
  This greatly reduces the complexity of managing the protection list state and
  should make it easier to make changes to the protection list structure in the
  future without breaking packages compiled with older versions of cpp11 (#330).

* Nested calls to `cpp11::unwind_protect()` are no longer supported or
  encouraged. Previously, this was something that could be done for performance
  improvements, but ultimately this feature has proven to cause more problems
  than it is worth and is very hard to use safely. For more information, see the
  new `vignette("FAQ")` section titled "Should I call `cpp11::unwind_protect()`
  manually?" (#327).

* The features and bug fixes from cpp11 0.4.4 have been added back in.

# cpp11 0.4.5

* On 2023-07-20, cpp11 was temporarily rolled back to 0.4.3 manually by CRAN due
  to a bug in 0.4.4 which we could not immediately fix due to the cpp11
  maintainer being on vacation.

# cpp11 0.4.4

* Davis Vaughan is now the maintainer.

* `as_doubles()` and `as_integers()` now propagate missing values correctly
   (#265, #319).

* Fixed a performance issue related to nested `unwind_protect()` calls (#298).

* Minor performance improvements to the cpp11 protect code. (@kevinushey)

* `cpp_register()` gains an argument `extension=` governing the file extension of
  the `src/cpp11` file. By default it's `.cpp`, but `.cc` is now supported
  as well (#292, @MichaelChirico)
  • Loading branch information
mef committed Jan 20, 2024
1 parent 11c7415 commit ce94099
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lang/R-cpp11/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.5 2023/02/18 09:21:40 mef Exp $
# $NetBSD: Makefile,v 1.6 2024/01/20 10:22:46 mef Exp $

R_PKGNAME= cpp11
R_PKGVER= 0.4.3
R_PKGVER= 0.4.7
CATEGORIES= lang

MAINTAINER= pkgsrc-users@NetBSD.org
Expand Down
8 changes: 4 additions & 4 deletions lang/R-cpp11/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.7 2023/02/18 09:21:40 mef Exp $
$NetBSD: distinfo,v 1.8 2024/01/20 10:22:46 mef Exp $

BLAKE2s (R/cpp11_0.4.3.tar.gz) = ac4a80cd19ab38e28ede25eaa6c21353dfc2d1ede41ea2c9cda7aa857889c2a7
SHA512 (R/cpp11_0.4.3.tar.gz) = d37370906fd2dbe2eba86d43876bb1f8186bc5ccbe9c605333eb686b1342fd02c69964c580e0c3f1e206c46889ea415c92952d2e54b69fbda8423f00345b2afe
Size (R/cpp11_0.4.3.tar.gz) = 304530 bytes
BLAKE2s (R/cpp11_0.4.7.tar.gz) = 9d7ec7dedc3591d0537b9435b62048b225d80ea2152ce1342ccd54a482e9ba4e
SHA512 (R/cpp11_0.4.7.tar.gz) = d820cbd5c72860ddec5d21134d4ce278c670d7fb57add8b126ddd952c6da1cd165df57a769a5bea63b3c55d74fe638604c5d60b0c9eb23c35bbb64b933e80182
Size (R/cpp11_0.4.7.tar.gz) = 285779 bytes

0 comments on commit ce94099

Please sign in to comment.