Skip to content

Commit

Permalink
Get rid of Rf_findVarInFrame3, not allowed now
Browse files Browse the repository at this point in the history
Use Rf_findVarInFrame instead.
  • Loading branch information
gaborcsardi committed Jun 20, 2024
1 parent bca99c0 commit c5e872a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/progress.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)));

Expand Down

0 comments on commit c5e872a

Please sign in to comment.