-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[R] CRAN packaging checklist for version 19.0.1 #45581
Comments
|
|
New Macbuilder jobs with the cherry-pick:
Edit: Release and devel are clean. |
Hi @jonkeane , https://files.brycemecum.com/arrow_19.0.1.tar.gz is ready to submit to CRAN whenever you have a moment. And the checklist in this issue is up to date with respect to what's been done. |
Have you looked at the current CRAN issues? We might have gotten unlucky and these just started now :( I see two that are worrying.
|
I've created #45605 and am poking at that (at first trying to get a replication of the failure — the change I think is just delete the whitespace before the identifier) |
The whitespace one is new, glad you caught it. The second (windows) one was there before and I maybe incorrectly assumed it would magically fix itself. Do we have a good way of reproducing their |
Not exactly reproduce. And if they have cut our internet access off there for some reason (like they did with macos for a while) we're stuck. One thing we could try is increasing the timeout floor that we have it's possible (though I don't see direct evidence that) it's timing out and that's the issue |
I'm happy to give that a try and lean on your experience with this but could we just submit and hope (with some extra notes in cran-comments about what we're seeing)? |
I'm going to wait for the clang20 image to build tonight and then try the whitespace fix. IMO we should include the timeout increase as well and if we add those two things before submitting we can say we've tried to address them. |
Sounds good to me. I can cherry-pick those two PRs once we've merged them and prep a new submission archive for you. Thanks for taking the initiative on the fixes! |
Just to track the status of cherry-picks here:
|
@jonkeane do we want to run through winbuilder and macbuilder again with the new tarball before submitting to CRAN? |
Yes, please! 🙏 |
Okay, doing that now. |
Latest round of macbuilder runs: |
Mac builder looks good. @jonkeane here's the latest archive for CRAN: https://files.brycemecum.com/arrow_19.0.1.tar.gz. |
Thanks! I just submitted it |
Womp womp, we got bounced for revdeps, just got this output from an email. I haven't had a chance to look into what the issue is / how we could/should go about it.
|
I can take a look. |
I'm not yet sure what's going on. pxmake v0.15.1 passed revdep check when we ran that in https://github.com/ursacomputing/crossbow/actions/runs/13445757103/job/37570963064. They had a release last week (https://github.com/StatisticsGreenland/pxmake/releases/tag/v0.15.1) and one earlier one since our last CRAN submission but no changes look related to this. I manually checked pxmake from the v0.15.1 tag against the version of arrow installed from the CRAN tarball and it checks cleanly. Is there another/better way to run try to reproduce what CRAN sent? I'm worried that our recheck job can't catch issues like this for us. The NOTE you shared above looks clear enough but it looks like there's nothing we should be required to do about it. |
@jonkeane I'm back to looking at this again and I see that Kurt Hornik added this check on Jan 25, see https://stat.ethz.ch/pipermail/r-devel/2025-January/083793.html and noted on Jan 22, 2025:
So we're likely not alone in this. |
nods yeah. Maybe we should send an issue + PR to to pxmake since they (transitively) depend on 4.1.0 now? For them it's "just" jumping here: https://github.com/StatisticsGreenland/pxmake/blob/fb92b379aebf95ab998ec8edf556df95e6c57170/DESCRIPTION#L54 |
I can reply back as it being a false positive, but it would be nice to have us upstreaming a helping change / issue there (in addition to the mailing list) |
Sounds good. I filed an issue and PR over on pxmake, see StatisticsGreenland/pxmake#376. |
Packaging checklist for CRAN release
For a high-level overview of the release process see the
Apache Arrow Release Management Guide.
Before the release candidate is cut
[R] CRAN packaging checklist for version X.X.X
and copy this checklist to the issue.ARROW_VERSION_MAJOR
in r/src).urlchecker::url_check()
on the R directory at the release candidate.commit. Ignore any errors with badges as they will be removed in the CRAN release branch.
git log --oneline <sha of last release>..HEAD | grep "\[R\]"
Wait for the release candidate to be cut:
After release candidate has been cut
maint-X.X.X-r
and push to upstreamPrepare and check the .tar.gz that will be released to CRAN.
git fetch upstream && git checkout release-X.X.X-rcXX && git clean -f -d
make build
. This copies Arrow C++ into tools/cpp, prunes someunnecessary components, and runs
R CMD build
to generate the source tarball.Because this will install the package, you will need to ensure that the version
of Arrow C++ available to the configure script is the same as the version
that is vendored into the R package (e.g., you may need to unset
ARROW_HOME
).devtools::check_built("arrow_X.X.X.tar.gz")
locallyRelease vote
Generate R package to submit to CRAN
on that commit.
were needed to fix CRAN-related submission issues identified in the above
steps.
urlchecker::url_check()
on the R directoryWIP: [R] Verify CRAN release-10.0.1-rc0
. Adda comment
@github-actions crossbow submit --group r
to run all R crossbowjobs against the CRAN-specific release branch.
Rscript tools/update-checksums.R <libarrow version>
to download the checksums for the pre-compiled binaries from the ASF artifactory into the tools directory.make build
)Check binary Arrow C++ distributions specific to the R package
and confirm (with Jon, who will automatically receive an email about the results) that the check is clean.
and confirm that the check is clean
install.packages("arrow_X.X.X.tar.gz")
on Ubuntu and ensure that thehosted binaries are used
devtools::check_built("arrow_X.X.X.tar.gz")
locally one more time (for luck)CRAN submission
CRAN submit page
Wait for CRAN...
r-universe-release
ci/scripts/PKGBUILD
,dev/tasks/homebrew-formulae/autobrew/apache-arrow.rb
,r/DESCRIPTION
, andr/NEWS.md
pkgdown::build_news()
and submit a PR to the asf-site branch of the docs site with the contents ofarrow/r/docs/news/index.html
replacing the current contents ofarrow-site/docs/r/news/index.html
r/pkgdown/assets/versions.json
, and update this on the theasf-site
branch of the docs site too.packaging process.
CRAN package page to reflect the
new version
Post-release tasks
The text was updated successfully, but these errors were encountered: