This is an automated email from the ASF dual-hosted git repository.

paleolimbot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 92affc7ca chore(r): Update roxygen generated docs and non-api sentinel 
(#4635)
92affc7ca is described below

commit 92affc7caa219ae8d86e908c39b3bc3d4439e2f7
Author: Dewey Dunnington <[email protected]>
AuthorDate: Tue Aug 4 17:05:29 2026 -0400

    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.
---
 r/adbcdrivermanager/src/radbc.cc       |  4 ++--
 r/adbcpostgresql/man/adbcpostgresql.Rd | 18 +++---------------
 r/adbcsqlite/man/adbcsqlite.Rd         | 18 +++---------------
 3 files changed, 8 insertions(+), 32 deletions(-)

diff --git a/r/adbcdrivermanager/src/radbc.cc b/r/adbcdrivermanager/src/radbc.cc
index a81e47cb2..c13a4f225 100644
--- a/r/adbcdrivermanager/src/radbc.cc
+++ b/r/adbcdrivermanager/src/radbc.cc
@@ -57,8 +57,8 @@ static int adbc_update_parent_child_count(SEXP xptr, int 
delta) {
   SEXP child_count_sym = PROTECT(Rf_install(".child_count"));
 #if defined(R_VERSION) && R_VERSION >= R_Version(4, 5, 0)
   SEXP child_count_sexp =
-      PROTECT(R_getVarEx(child_count_sym, parent_env, FALSE, R_UnboundValue));
-  if (child_count_sexp == R_UnboundValue) {
+      PROTECT(R_getVarEx(child_count_sym, parent_env, FALSE, R_MissingArg));
+  if (child_count_sexp == R_MissingArg) {
     Rf_error("Internal error: .child_count not found");
   }
 #else
diff --git a/r/adbcpostgresql/man/adbcpostgresql.Rd 
b/r/adbcpostgresql/man/adbcpostgresql.Rd
index 46f31d08b..32e2807fc 100644
--- a/r/adbcpostgresql/man/adbcpostgresql.Rd
+++ b/r/adbcpostgresql/man/adbcpostgresql.Rd
@@ -22,22 +22,10 @@ adbcpostgresql()
 )
 }
 \arguments{
-\item{driver}{The driver to use. This can be one of the following:
-\itemize{
-\item A non-missing \code{character(1)} containing a driver or manifest name, a
-relative or absolute path to a driver or manifest, or a URI. For a URI,
-the driver manager uses the URI scheme as the driver name and passes the
-URI to that driver. A \verb{profile://} URI loads a connection profile.
-\item \code{NULL}, which leaves driver selection to the driver manager. In this
-case, \code{...} must normally contain \code{uri} or \code{profile}; the 
driver is
-inferred from the URI or loaded from the connection profile.
-\item An object that inherits from the \code{adbc_driver} class, such as one 
created
-by \code{\link[adbcdrivermanager:adbc_driver]{adbc_driver()}}. This includes 
drivers provided by R packages, such as
-\code{adbcsqlite::adbcsqlite()}.
-}}
+\item{driver}{An \code{\link[adbcdrivermanager:adbc_driver]{adbc_driver()}}.}
 
-\item{...}{Driver-specific options. These are generally named values that
-are converted to strings.}
+\item{...}{Driver-specific options. For the default method, these are
+named values that are converted to strings.}
 
 \item{uri}{A URI to a database path (e.g.,
 \verb{postgresql://localhost:1234/postgres?user=user&password=password})}
diff --git a/r/adbcsqlite/man/adbcsqlite.Rd b/r/adbcsqlite/man/adbcsqlite.Rd
index 4f28a7398..decde4083 100644
--- a/r/adbcsqlite/man/adbcsqlite.Rd
+++ b/r/adbcsqlite/man/adbcsqlite.Rd
@@ -23,22 +23,10 @@ adbcsqlite()
 )
 }
 \arguments{
-\item{driver}{The driver to use. This can be one of the following:
-\itemize{
-\item A non-missing \code{character(1)} containing a driver or manifest name, a
-relative or absolute path to a driver or manifest, or a URI. For a URI,
-the driver manager uses the URI scheme as the driver name and passes the
-URI to that driver. A \verb{profile://} URI loads a connection profile.
-\item \code{NULL}, which leaves driver selection to the driver manager. In this
-case, \code{...} must normally contain \code{uri} or \code{profile}; the 
driver is
-inferred from the URI or loaded from the connection profile.
-\item An object that inherits from the \code{adbc_driver} class, such as one 
created
-by \code{\link[adbcdrivermanager:adbc_driver]{adbc_driver()}}. This includes 
drivers provided by R packages, such as
-\code{adbcsqlite::adbcsqlite()}.
-}}
+\item{driver}{An \code{\link[adbcdrivermanager:adbc_driver]{adbc_driver()}}.}
 
-\item{...}{Driver-specific options. These are generally named values that
-are converted to strings.}
+\item{...}{Driver-specific options. For the default method, these are
+named values that are converted to strings.}
 
 \item{uri}{A URI to a database path or ":memory:" for an in-memory database.}
 

Reply via email to