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

Function dynlibCacheLookup

src/attributes.cpp:3525–3536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3523 }
3524
3525 SourceCppDynlib dynlibCacheLookup(const std::string& cacheDir,
3526 const std::string& file,
3527 const std::string& code)
3528 {
3529 Rcpp::Environment rcppEnv = Rcpp::Environment::namespace_env("Rcpp");
3530 Rcpp::Function dynlibLookupFunc = rcppEnv[".sourceCppDynlibLookup"];
3531 Rcpp::List dynlibList = dynlibLookupFunc(cacheDir, file, code);
3532 if (dynlibList.length() > 0)
3533 return SourceCppDynlib(dynlibList);
3534 else
3535 return SourceCppDynlib();
3536 }
3537
3538 SourceCppDynlib dynlibCacheLookupByFile(const std::string& cacheDir,
3539 const std::string& file)

Callers 2

dynlibCacheLookupByFileFunction · 0.85
dynlibCacheLookupByCodeFunction · 0.85

Calls 3

namespace_envFunction · 0.85
SourceCppDynlibClass · 0.85
lengthMethod · 0.45

Tested by

no test coverage detected