File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ 2026-04-03 Dirk Eddelbuettel <edd@debian.org>
2+
3+ * inst/include/Rcpp/proxy/NamesProxy.h (set): Only set non-null values
4+
152026-04-01 Mattias Ellert <mattias.ellert@physics.uu.se>
26
37 * inst/discovery/cxx0x.R: Set execute permissions for script
Original file line number Diff line number Diff line change 11// Copyright (C) 2013 - 2025 Romain François
2- // Copyright (C) 2026 Romain François and Iñaki Ucar
2+ // Copyright (C) 2026 Romain François, Iñaki Ucar and Dirk Eddelbuettel
33//
44// This file is part of Rcpp.
55//
@@ -48,7 +48,8 @@ class NamesProxyPolicy{
4848 }
4949
5050 void set (SEXP x) {
51- Rf_namesgets (parent, Shield<SEXP>(x));
51+ if (!Rf_isNull (x))
52+ Rf_namesgets (parent, Shield<SEXP>(x));
5253 }
5354
5455 } ;
You can’t perform that action at this time.
0 commit comments