-
Notifications
You must be signed in to change notification settings - Fork 20
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
Release qgisprocess 0.1.0 #167
Comments
@florisvdh maybe add to this the publication of the cheatsheet in Posit 😅 |
@ambarja this was just the automatically generated issue by I don't regard the Posit publication step as essential for the CRAN release since currently the PDFs from your repo are referred, which is fine! Replacing by Posit URLs for the PDFs can still happen in a next release. Perhaps Posit prefers publishing contributed cheatsheets when a package is already on CRAN. Oh yes, for the CRAN release it would be best to have the installation instructions in the cheatsheet updated to |
Excellent, I'm looking forward to the release of CRAN, to update a few things, certainly an excellent job. ^^ |
The R-hub service seems to be stalled today; a few days ago results were quite OK so will probably skip this step. I cannot even access the results from those earlier logs anymore. |
First CRAN submission from 20 July (dca0284 -> current 45834ea) yielded below comments; will be tackled in an upcoming PR. Comments on submission 01
|
Relates to CRAN review: #167 (comment).
Relates to CRAN review: #167 (comment).
Relates to CRAN review: #167 (comment).
Relates to CRAN review: #167 (comment).
Relates to CRAN review: #167 (comment).
But use suppressWarnings() instead. Relates to CRAN review: #167 (comment).
Relates to CRAN review: #167 (comment).
Relates to CRAN review: #167 (comment).
Relates to CRAN review: #167 (comment).
Relates to CRAN review: #167 (comment).
Settling on below statements for locally triggered CRAN-like pre-testing before submitting: devtools::check(remote = TRUE, manual = TRUE) # Ubuntu 64-bit, R-release.
# To replicate behaviour on a fresh system, remove
# qgisprocess cache and add 'document = FALSE'.
devtools::check_win_devel()
devtools::check_rhub(platforms = "windows-x86_64-devel")
devtools::check_rhub(platforms = "fedora-clang-devel") # may abort during testing, maybe due to long time of compiling R packages Best run these statements in separate R sessions = parallel. Best run them in fresh terminal R sessions (outside RStudio) to avoid any preloading actions by RStudio 😣.
However specifying single ones results in the output being streamed. However note that R-devel on R-hub is much older (months) than on win-builder and GitHub Actions (see next post). I take the win-builder NOTES as 'official' for usage in Below notes in Windows on R-hub are bugs in R-hub (r-hub/rhub#503, r-hub/rhub#560) and can be ignored:
Below note in Fedora on R-hub is a bug in R-hub (r-hub/rhub#548) and can be ignored:
|
CRAN resubmission today (a56abb3) resulted in an automated feedback from automated win-builder pretests on Debian and Windows. On Debian (not on Windows), the below WARNING appeared. Strangely enough this never popped up before in other systems, also not during the first CRAN submission.
The warning should be simple to solve, but the involved 'feature' is present several months already. Note: I could not reproduce this on R-hub's |
CRAN submission from 11 August (18e5dc6) yielded below comments; to be tackled in an upcoming PR. Comments on submission 03
|
Relates to CRAN review: #167 (comment).
While ensuring something remains for execution in R CMD check. Relates to CRAN review: #167 (comment).
Relates to CRAN review: #167 (comment).
Relates to CRAN review: #167 (comment).
…y) * Relates to CRAN review: #167 (comment).
Relates to CRAN review: #167 (comment).
…::s3_register() * Relates to CRAN review: #167 (comment). Before, vctrs::s3_register() was used to dynamically register S3 methods for generics in suggested packages, in this case for sf::st_as_sf() and stars::st_as_stars(). However we also want to have these methods documented, with examples, and appearing in the package index. This was already the case, but CRAN requires examples to be present only for exported methods (NAMESPACE). Delayed S3 method registration is supported since R>=3.6.0, and can be implemented with the roxygen2 tag @exportS3Method. The downside of this non-vctrs implementation is the minimum required R version.
CRAN landing page: https://cran.r-project.org/package=qgisprocess |
Epic! |
Excellent, indeed! Great work @florisvdh! |
Strangely I do not see a Windows binary for r-release on CRAN, while it has been created for r-devel and r-oldrel. Maybe that's still to come, although packages more recently published have all of them. 🤔 |
Has resolved automatically, just needed more time. |
First release:
usethis::use_cran_comments()
Title:
andDescription:
@return
and@examples
Authors@R:
includes a copyright holder (role 'cph')Prepare for release:
git pull
urlchecker::url_check()
devtools::build_readme()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
devtools::check_rhub()
(as recommended bydevtools::release()
) But see #167 (comment) below. (~rhub::check_for_cran()
, recommended by r-pkgs.org)git push
Submit to CRAN:
usethis::use_version('minor')
devtools::submit_cran()
better (recommended in devtools docs):devtools::release()
(has extra checks)Wait for CRAN...
usethis::use_github_release()
usethis::use_dev_version(push = TRUE)
The text was updated successfully, but these errors were encountered: