MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / attr_set

Function attr_set

inst/tinytest/cpp/RObject.cpp:149–153  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

147
148// [[Rcpp::export]]
149RObject attr_set(){
150 RObject y = wrap("blabla") ;
151 y.attr("foo") = 10 ;
152 return y ;
153}
154
155// [[Rcpp::export]]
156bool isNULL(RObject x){

Callers

nothing calls this directly

Calls 2

attrMethod · 0.80
wrapFunction · 0.50

Tested by

no test coverage detected