Skip to content

Commit

Permalink
use S4SXP instead of OBJSXP for R-oldrel compat.
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kalinowski committed Nov 21, 2024
1 parent 0fbccb3 commit d102268
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reassign.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void CheckBody(SEXP x) {
case EXTPTRSXP:
case WEAKREFSXP:
case RAWSXP:
case OBJSXP:
case S4SXP: // renamed to OBJSXP
return;

default:
Expand All @@ -56,7 +56,7 @@ void CheckFormals(SEXP ls) {
for (; ls != R_NilValue; ls = CDR(ls))
if (TYPEOF(TAG(ls)) != SYMSXP)
goto err;
return;
return;
}
err:
error("Unexpected closure formals");
Expand Down

0 comments on commit d102268

Please sign in to comment.