From 549880af43ac8059bb172582144921d99a1a3c9b Mon Sep 17 00:00:00 2001 From: brodieG Date: Thu, 20 Jun 2024 20:32:59 -0400 Subject: [PATCH] fixes for r86791 --- DESCRIPTION | 2 +- NEWS.md | 2 +- src/r-copied.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 4b6439a..f6da3a0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -3,7 +3,7 @@ Title: Trust, but Verify Description: Declarative template-based framework for verifying that objects meet structural requirements, and auto-composing error messages when they do not. -Version: 0.2.17 +Version: 0.2.18 Authors@R: c( person("Brodie", "Gaslam", email="brodie.gaslam@yahoo.com", role=c("aut", "cre")), diff --git a/NEWS.md b/NEWS.md index 5902a6d..c0b35da 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -## 0.2.17 +## 0.2.17-18 * Fix bad C API accesses uncovered by new R-devel checks. diff --git a/src/r-copied.c b/src/r-copied.c index c4cb9c5..3c25744 100644 --- a/src/r-copied.c +++ b/src/r-copied.c @@ -63,7 +63,7 @@ SEXP ALIKEC_findFun(SEXP symbol, SEXP rho) { error("Internal Error: `rho` must be environment");// nocov SEXP vl; while (rho != R_EmptyEnv) { - vl = findVarInFrame3(rho, symbol, TRUE); + vl = findVarInFrame(rho, symbol); if (vl != R_UnboundValue) { if (TYPEOF(vl) == PROMSXP) { PROTECT(vl);