Skip to content

Commit 8670bb6

Browse files
committed
fix tests
1 parent 049ecfd commit 8670bb6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

inst/include/Rcpp/Environment.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,10 @@ namespace Rcpp{
215215
return true ;
216216
}
217217

218+
bool assign(const std::string& name, const Shield<SEXP>& x) const {
219+
return assign(name, (SEXP) x);
220+
}
221+
218222
/**
219223
* wrap and assign. If there is a wrap method taking an object
220224
* of WRAPPABLE type, then it is wrapped and the corresponding SEXP

0 commit comments

Comments
 (0)