Skip to content

Commit 92affc7

Browse files
authored
chore(r): Update roxygen generated docs and non-api sentinel (#4635)
This PR updates `devtools::document()` with a more recent roxygen2 and fixes an R C API issue (the unbound variable sentinel is no longer "public", so we have to use another one). For the CRAN release I also had to update nanoarrow (fixes gcc16 warnings), but I'll do that separately since nanoarrow is close to an actual release.
1 parent f12adc3 commit 92affc7

3 files changed

Lines changed: 8 additions & 32 deletions

File tree

r/adbcdrivermanager/src/radbc.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ static int adbc_update_parent_child_count(SEXP xptr, int delta) {
5757
SEXP child_count_sym = PROTECT(Rf_install(".child_count"));
5858
#if defined(R_VERSION) && R_VERSION >= R_Version(4, 5, 0)
5959
SEXP child_count_sexp =
60-
PROTECT(R_getVarEx(child_count_sym, parent_env, FALSE, R_UnboundValue));
61-
if (child_count_sexp == R_UnboundValue) {
60+
PROTECT(R_getVarEx(child_count_sym, parent_env, FALSE, R_MissingArg));
61+
if (child_count_sexp == R_MissingArg) {
6262
Rf_error("Internal error: .child_count not found");
6363
}
6464
#else

r/adbcpostgresql/man/adbcpostgresql.Rd

Lines changed: 3 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

r/adbcsqlite/man/adbcsqlite.Rd

Lines changed: 3 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)