Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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]]
149
RObject attr_set(){
150
RObject y = wrap(
"blabla"
) ;
151
y.attr(
"foo"
) = 10 ;
152
return y ;
153
}
154
155
// [[Rcpp::export]]
156
bool isNULL(RObject x){
Callers
nothing calls this directly
Calls
2
attr
Method · 0.80
wrap
Function · 0.50
Tested by
no test coverage detected