Skip to content

Commit 894aa30

Browse files
committed
Sharpen version comparison with SVN commit reference
1 parent ae589dc commit 894aa30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/include/Rcpp/Function.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ namespace Rcpp{
6969
}
7070

7171
Function_Impl(const std::string& name, const std::string& ns) {
72-
#if R_VERSION < R_Version(4,6,0)
72+
#if R_VERSION < R_Version(4,6,0) || R_SVN_REVISION < 89746
7373
Shield<SEXP> env(Rf_findVarInFrame(R_NamespaceRegistry, Rf_install(ns.c_str())));
7474
if (env == R_UnboundValue)
7575
stop("there is no namespace called \"%s\"", ns);

0 commit comments

Comments
 (0)