We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed61e2f commit f9aa568Copy full SHA for f9aa568
1 file changed
inst/include/Rcpp/proxy/NamesProxy.h
@@ -49,7 +49,8 @@ class NamesProxyPolicy{
49
50
void set(SEXP x) {
51
if (!Rf_isNull(x))
52
- Rf_namesgets(parent, Shield<SEXP>(x));
+ Rf_namesgets(parent, x);
53
+ else Rf_setAttrib(parent, R_NamesSymbol, x);
54
}
55
56
} ;
0 commit comments