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

Method uniqueToken

src/attributes.cpp:3475–3479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3473 }
3474
3475 std::string uniqueToken(const std::string& cacheDir) {
3476 Rcpp::Environment rcppEnv = Rcpp::Environment::namespace_env("Rcpp");
3477 Rcpp::Function uniqueTokenFunc = rcppEnv[".sourceCppDynlibUniqueToken"];
3478 return Rcpp::as<std::string>(uniqueTokenFunc(cacheDir));
3479 }
3480
3481 private:
3482 std::string cppSourcePath_;

Callers

nothing calls this directly

Calls 1

namespace_envFunction · 0.85

Tested by

no test coverage detected