Skip to content

Conversation

@assignUser
Copy link
Member

@assignUser assignUser commented Jun 13, 2025

Rationale for this change

The lint job is failing, because of the R hooks missing packages. This happens because the library of the environment symlinks the R packages from the separate renv cache in .local.

What changes are included in this PR?

  • also cache renv cache
  • only install r-base (saves ~30s) as we need to install all required packages through renv anyway

Are these changes tested?

CI

Are there any user-facing changes?

CI no longer ❌

@github-actions github-actions bot added the awaiting review Awaiting review label Jun 13, 2025
@assignUser assignUser marked this pull request as ready for review June 13, 2025 20:28
@assignUser
Copy link
Member Author

The current run is a re-run with cache hit 🎉

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

sudo apt install -y -V \
pre-commit \
r-cran-xml2 \
r-base \
Copy link
Member

Choose a reason for hiding this comment

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

Thanks!

@github-actions github-actions bot added awaiting review Awaiting review awaiting merge Awaiting merge and removed awaiting review Awaiting review labels Jun 14, 2025
@kou kou merged commit c5d192b into apache:main Jun 14, 2025
5 checks passed
@kou kou removed awaiting review Awaiting review awaiting merge Awaiting merge labels Jun 14, 2025
@github-actions github-actions bot added the awaiting review Awaiting review label Jun 14, 2025
@assignUser assignUser deleted the fix-r-hooks branch June 14, 2025 21:54
@conbench-apache-arrow
Copy link

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

There were 118 benchmark results with an error:

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

alinaliBQ pushed a commit to Bit-Quill/arrow that referenced this pull request Jun 17, 2025
…#46812)

### Rationale for this change
The lint job is failing, because of the R hooks missing packages. This happens because the library of the environment symlinks the R packages from the separate `renv` cache in `.local`.

### What changes are included in this PR?
- also cache renv cache
- only install r-base (saves ~30s) as we need to install all required packages through renv anyway

### Are these changes tested?
CI

### Are there any user-facing changes?
CI no longer ❌

* GitHub Issue: apache#46805

Lead-authored-by: Jacob Wujciak-Jens <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review Awaiting review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants