Describe the enhancement requested
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
We will want to cherry pick:
Before the release candidate is cut
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.
Release vote
Generate R package to submit to CRAN
Ensure linux binary packages are available:
Check binary Arrow C++ distributions specific to the R package
CRAN submission
Wait for CRAN...
Component(s)
R
Component(s)
R
Describe the enhancement requested
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
We will want to cherry pick:
dplyr::toleft_joincalls #43348R_VERSION#43504Before the release candidate is cut
[R] CRAN packaging checklist for version X.X.Xand copy this checklist to the issue.ARROW_VERSION_MAJORin 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 -dmake build. This copies Arrow C++ into tools/cpp, prunes someunnecessary components, and runs
R CMD buildto 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 rto 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.mdpkgdown::build_news()and submit a PR to the asf-site branch of the docs site with the contents ofarrow/r/docs/news/index.htmlreplacing the current contents ofarrow-site/docs/r/news/index.htmlr/pkgdown/assets/versions.json, and update this on the theasf-sitebranch of the docs site too.packaging process.
CRAN package page to reflect the
new version
Component(s)
R
Component(s)
R