-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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 16.1.0 #41647
Comments
This is ready to review and release related #41629
This would mean the binaries on jfrog are affected by this. Do we want to replace them? We also still have the issue with the offline build on CRAN... |
Thanks for starting this off @thisisnic. I noticed that #40388 is still open and I think at least one or two things are still undone (tagging commit for cran submission, update backwards compat job). Do you remember which commit we sent off to CRAN?
Do we have an issue with next steps? Is this what caused the Mac build to be disabled? |
@assignUser The issue you linked to, has that ended up just being a CI issue so doesn't affect the release? And can you elaborate on the Jfrog binaries issue, I don't understand exactly what's going on there. |
During the release process that workflow is used to create the binaries that |
Right, sounds like we probably want to fix it then |
This will need updating to read 16.1.0, then merging & cherry-picking: #41422 |
@paleolimbot Would you mind doing the revdepcheck pls? I haven't created an R-specific branch yet but I don't think we need to cherry-pick anything over that is code, so the main release branch should be good to use. |
I am back on Tuesday and can give it a try then! |
Fantastic, thanks! Do you reckon you'll have time after that to make it into a Dockerfile like we chatted about a while ago? |
crossbow jobs from r-release branch: #41762 |
Ok, that's an issue: https://www.r-project.org/nosvn/R.check/r-release-windows-x86_64/arrow-00install.html |
Let's hope that was just a fluke. |
I am going to upload a tarball to winbuilder (though it passing there doesn't really mean anything) |
As expected win builder passed... |
I have tagged the cran commit for 15.0.1. edit:
|
Crossbow jobs look good, the only thing left imo is to update and merge #41422 and then the submission process (+maintainer change). I think we should pro-actively ask about the offline build stuff especially now that it also happens on windows (but I'll leave that up to @jonkeane :) ). The non-api calls are from cpp11 afaiu? Also it seems those where converted to a note from an error? That's as far as I can contribute for now, good luck! |
Thanks @assignUser for your hard work! Once we're ready to submit to CRAN, I'll email about the maintainer change. The plan regarding the builds is to submit the package, see what happens, and then if we get a hobbled build, then immediately get onto emailing CRAN and/or the dev mailing list. I'd like the maintainer change to happen before we do that. |
I'd like to do the tweet/whatever thread, as I'd like to briefly mention the maintainer change, if that's OK with you @jonkeane? |
@paleolimbot How are the revdepchecks looking? |
Re: revdepchecks, I wanted a reason to try out https://github.com/r-devel/recheck so I kicked off https://github.com/amoeba/arrow-r-recheck/actions/runs/9212033245. |
Looks like it was, the windows check is fine again. |
Thanks @amoeba for the reverse dependency check...I'm not sure I ever would have thought of that solution and it is a lot easier than anything I was planning to try! |
Nic submitted the package and I've confirmed. I just got the (automated, pre-test email that flagged Notes in two builds) https://win-builder.r-project.org/incoming_pretest/arrow_16.1.0_20240525_151425/Windows/00check.log https://win-builder.r-project.org/incoming_pretest/arrow_16.1.0_20240525_151425/Debian/00check.log For both of these:
One NOTE is the so-called non-API calls.
I believe these are "ok" because other packages with cpp11 dependencies (e.g. systemfonts) have been submitted and passed with these. One other thing that's slightly more worrying is:
|
Those possibly invalid URIs look like they were introduced in #40148 (and so this is the first CRAN submission with them here) I'm a little surprised that we don't see them in our as-cran check though: https://github.com/ursacomputing/crossbow/actions/runs/9231423983/job/25401288490 |
I'm trying to replicate those in CI at #41828 looking at r-lib/devtools#2054 though, from Jenny:
|
I made a PR and cherry-picked those commits to the maint-16.0.1-r branch and submitted that to CRAN. |
@assignUser Did we fix the binaries you mentioned earlier? I noticed the checksums were updated on the branch a few days ago so wasn't sure if it was that? |
Yes that's fine, it was only affecting the actual nightly package binaries not the libarrow binaries. |
Thanks Nic, I just got the second email back and the only notes in the auto-check are ones we expect (change in maintainer, and the cpp11 ones that happen to anyone using cpp11). |
And thank you everyone for y'alls help here 🙏 |
Should we move the r-universe-release tag now, or wait until we actually get to CRAN? |
Also up at https://cran.r-project.org/web/packages/arrow/index.html |
I also just bumped the |
Thanks for doing the r-universe tag @jonkeane, we should add that to our release checklist. IMO we should just tag it for r-universe when we have done the various steps to submit to CRAN as we can move it later if necessary, and at that point we are confident enough about the package that any changes needed are very CRAN-oriented rather than release-specific. Keen to hear what other folks think though, there may be good reasons to hang back. |
👍 I thought about bumping it when I created the branch but it seemed to early as we were missing the news still, but tagging it once we are release ready (regardless if on cran or not) seems like a good point to do it :) Looks like the build is failing in the actual package build on oldrel intel with no actual error visible... I'll try to replicate on gha. |
I was of course unable to reproduce, there are a bunch of warnings which I assume to be env specific or they would have shown up on cran as well https://github.com/assignUser/test-repo-a/actions/runs/9239685590/job/25419135479#step:3:552 |
And the error is gone again? |
but also 😕
edit: I think this is only possible if |
I pushed both tags |
We should also remove the text which refer to previous steps which Jeroen did as I got tripped up skim-reading and not realising the steps were still valid even if those bits aren't any more |
Packaging checklist for CRAN release
For a high-level overview of the release process see the
Apache Arrow Release Management Guide.
cc @jonkeane @amoeba @nealrichardson @assignUser @paleolimbot for coordination on the various tasks to release
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 aa057d0..HEAD | grep "\[R\]"
archery docker run r-revdepcheck
.Wait for the release candidate to be cut:
After release candidate has been cut
Prepare 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")
locallyarchery docker run r-revdepcheck
.Release 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
)Ensure linux binary packages are available:
https://apache.jfrog.io/ui/repos/tree/General/arrow/r
Check binary Arrow C++ distributions specific to the R package
and confirm (with Nic, who will automatically receive an email about the results) that the check is clean.
This step cannot be completed before Jeroen has put the binaries in the MinGW repository, i.e. here, here, and here.
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...
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
Component(s)
R
The text was updated successfully, but these errors were encountered: