-
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.0.0 #41404
Comments
This release will be slightly different since it will include the change in maintainer. IIUC We'll need to do:
from https://cran.r-project.org/web/packages/policies.html#Submission-1 |
Status of current check results
Note: we will need to figure out if we need to resolve #41398 before we can submit to CRAN. The current windows check is on 4.4.0 — that doesn't compile from source there anyway so so long as #41398 is truly a warning -> error situation, we should ok to ship without it. |
Re: #41398, I suspect we do need to fix it before releasing, unless we're not updating the libarrow binaries. It's raising on a line that was changed since 15.0: https://github.com/apache/arrow/pull/39888/files#diff-dd3ca7b08e6c9982fcc1be7ea36c93a2d7998ed3ff6bab2ae1e0343ada0358d3R53 The reason we have Re: the so-called non-API functions, I wonder if those are related to ALTREP, and if they'll go away once newer R-devel builds cycle through after the policy was clarified? |
We haven't been running recent R devel versions in our CI (though #41403 is correcting that). I do still see these in that run with a recent (2024-04-24, after the rollback IIUC) R devel:
|
I believe the |
I submitted a PR for the NEWS updates: #41422 |
Closing this as we all agreed to wait for 16.1.0 which we'll be doing shortly, though let's move some of these discussions over to the new tickets as they'll be relevant |
Packaging checklist for CRAN release
For a high-level overview of the release process see the
Apache Arrow Release Management Guide.
cc @thisisnic @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: