We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae589dc commit 894aa30Copy full SHA for 894aa30
inst/include/Rcpp/Function.h
@@ -69,7 +69,7 @@ namespace Rcpp{
69
}
70
71
Function_Impl(const std::string& name, const std::string& ns) {
72
-#if R_VERSION < R_Version(4,6,0)
+#if R_VERSION < R_Version(4,6,0) || R_SVN_REVISION < 89746
73
Shield<SEXP> env(Rf_findVarInFrame(R_NamespaceRegistry, Rf_install(ns.c_str())));
74
if (env == R_UnboundValue)
75
stop("there is no namespace called \"%s\"", ns);
0 commit comments