diff --git a/src/progress.c b/src/progress.c index 84bb099a4..cf6f38d37 100644 --- a/src/progress.c +++ b/src/progress.c @@ -97,7 +97,7 @@ SEXP clic_get_time(void) { } SEXP clic__find_var(SEXP rho, SEXP symbol) { - SEXP ret = Rf_findVarInFrame3(rho, symbol, TRUE); + SEXP ret = Rf_findVarInFrame(rho, symbol); if (ret == R_UnboundValue) { error("Cannot find variable `%s`.", CHAR(PRINTNAME(symbol)));