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

Function unlockBinding

inst/include/Rcpp/Environment.h:264–268  ·  view source on GitHub ↗

* unlocks the given binding * see ?bindingIsLocked * * @throw no_such_binding if there is no such binding in this environment */

Source from the content-addressed store, hash-verified

262 * @throw no_such_binding if there is no such binding in this environment
263 */
264 void unlockBinding(const std::string& name){
265 if( !exists( name) ) throw no_such_binding(name) ;
266 SEXP nameSym = Rf_install(name.c_str());
267 R_unLockBinding( nameSym, Storage::get__() );
268 }
269
270 /**
271 * @param name name of a potential binding

Callers

nothing calls this directly

Calls 1

existsFunction · 0.85

Tested by

no test coverage detected