Skip to content

GH-50495: [R] 25.0.0 Release followups - #50786

Merged
thisisnic merged 8 commits into
apache:mainfrom
thisisnic:GH-50495-release-followups
Aug 3, 2026
Merged

GH-50495: [R] 25.0.0 Release followups#50786
thisisnic merged 8 commits into
apache:mainfrom
thisisnic:GH-50495-release-followups

Conversation

@thisisnic

@thisisnic thisisnic commented Aug 3, 2026

Copy link
Copy Markdown
Member

Rationale for this change

Changes from release branch need porting to main

What changes are included in this PR?

Port them to main

Are these changes tested?

No

Are there any user-facing changes?

Sure, we removed two defunct funcs

@thisisnic
thisisnic requested a review from jonkeane as a code owner August 3, 2026 15:29
Copilot AI review requested due to automatic review settings August 3, 2026 15:29
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

⚠️ GitHub issue #50495 has been automatically assigned in GitHub to PR creator.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

⚠️ GitHub issue #50495 has no components, please add labels for components.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Ports a set of post-25.0.0 R-package release-branch followups to main, primarily removing long-deprecated public APIs and aligning/generated documentation fixes.

Changes:

  • Remove deprecated arrow_available() and type() from the public R API (code, exports, tests, and man pages).
  • Fix roxygen/operator cross-references so operator links resolve to base:: targets (via data-raw/docgen.R and regenerated docs).
  • Address a roxygen @examplesIf issue in dataset-format.R by removing the problematic tag.

Reviewed changes

Copilot reviewed 8 out of 12 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
r/tests/testthat/test-type.R Removes the deprecation test for type() now that the alias is deleted.
r/tests/testthat/test-arrow-info.R Removes the deprecation test for arrow_available() now that the function is deleted.
r/R/type.R Deletes the deprecated type() alias (wrapper around infer_type()).
r/R/dplyr-funcs-doc.R Updates operator link targets to base::...() for roxygen markdown linking.
r/R/dataset-format.R Removes an @examplesIf tag that was invalid/causing roxygen issues.
r/R/arrow-info.R Deletes the deprecated arrow_available() helper.
r/NAMESPACE Removes exports for arrow_available and type.
r/man/infer_type.Rd Removes alias/usage entries for type() in the generated Rd.
r/man/FileSystem.Rd Updates generated docs for filesystem notes (including removal of a Windows/Azure note).
r/man/arrow_info.Rd Removes alias/usage entries for arrow_available() in the generated Rd.
r/man/acero.Rd Regenerates operator links to base: topics and updates text.
r/data-raw/docgen.R Updates doc generation to prefix operators with base:: in link targets.
Files not reviewed (4)
  • r/man/FileSystem.Rd: Generated file
  • r/man/acero.Rd: Generated file
  • r/man/arrow_info.Rd: Generated file
  • r/man/infer_type.Rd: Generated file

Comment thread r/man/infer_type.Rd
Comment thread r/R/type.R
Comment on lines 88 to 90
#' @export
infer_type <- function(x, ...) UseMethod("infer_type")

Comment thread r/R/dplyr-funcs-doc.R
Comment thread r/man/FileSystem.Rd
Comment thread r/NAMESPACE
Copilot AI review requested due to automatic review settings August 3, 2026 16:55
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

⚠️ GitHub issue #50495 has no components, please add labels for components.

Comment thread r/R/filesystem.R
Comment on lines +285 to +287
#' `AzureFileSystem` is not presently supported on Windows due to upstream
#' compatibility issues between the Azure C++ SDK and the MinGW toolchain.
#'

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this here as it was wiped out when I ran make doc due to it being added to the .Rd on the original PR but not to this file where it needs to be.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 13 changed files in this pull request and generated no new comments.

Files not reviewed (4)
  • r/man/FileSystem.Rd: Generated file
  • r/man/acero.Rd: Generated file
  • r/man/arrow_info.Rd: Generated file
  • r/man/infer_type.Rd: Generated file
Suppressed comments (2)

r/man/acero.Rd:76

  • acero.Rd is generated from R/dplyr-funcs-doc.R (see header), but the compute-function count here (254) is out of sync with the source doc file, which still says 281 (R/dplyr-funcs-doc.R:87). This will likely be reverted the next time docs are regenerated; please regenerate docs from the source (or update data-raw/docgen.R output) so the count is consistent across the generated artifacts.
    r/R/type.R:88
  • After removing the exported type() alias, there are still user-facing messages in C++ type inference that reference type() even though the code calls infer_type() (e.g., r/src/type_infer.cpp:225 says "type() did not return..."). Updating that error text to mention infer_type() would avoid confusion now that type() no longer exists.
#' @export
infer_type <- function(x, ...) UseMethod("infer_type")

Copilot AI review requested due to automatic review settings August 3, 2026 17:03
@github-actions github-actions Bot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels Aug 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 13 changed files in this pull request and generated no new comments.

Files not reviewed (4)
  • r/man/FileSystem.Rd: Generated file
  • r/man/acero.Rd: Generated file
  • r/man/arrow_info.Rd: Generated file
  • r/man/infer_type.Rd: Generated file

Copilot AI review requested due to automatic review settings August 3, 2026 17:09
@github-actions github-actions Bot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels Aug 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 14 changed files in this pull request and generated no new comments.

Files not reviewed (4)
  • r/man/FileSystem.Rd: Generated file
  • r/man/acero.Rd: Generated file
  • r/man/arrow_info.Rd: Generated file
  • r/man/infer_type.Rd: Generated file

@thisisnic
thisisnic merged commit 66e3070 into apache:main Aug 3, 2026
34 checks passed
@thisisnic thisisnic removed the awaiting change review Awaiting change review label Aug 3, 2026
@thisisnic thisisnic mentioned this pull request Aug 3, 2026
3 tasks
@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 66e3070.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 25 possible false positives for unstable benchmarks that are known to sometimes produce them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants