-
Notifications
You must be signed in to change notification settings - Fork 66
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
Make gggenomes ready for CRAN submission #168
Conversation
"bold" is not a valid font family this does not produce errors when I call it interactively but R CMD check produces the "invalid font type" error. Changing this to "sans" does not change the appearence of the plot for me.
Yeah, about what I expected. I already did some namespace stuff yesterday, but didn't follow through with all imported packages, in particular those that I use a lot. But if you want to find all functions from other packages, the code snippet from here works quite well: https://stackoverflow.com/questions/67492020/finding-objects-from-other-packages-namespaces-in-package-code |
That looks really useful, indeed. Going 1-by-1 would have been really tedious. |
Update: all ERRORs are fixed. Now we have:
Again, I think the counts are underestimations :-D I will work on them, next. |
I'm guessing CRAN is anal about this and requires "WARNINGs/NOTEs" to be fixed? |
Yes, I think so, too. |
6 Notes are fixed. The warnings need a bit more attention. Just to be sure, to fix one of the notes I removed |
Yes, I think we should have |
I'll continue to fix warnings and notes, but there is one thing, that can not easily be fixed. The CRAN repository policy states, that:
Our check indicates, that:
So documentation is fine, but already close to the limit and |
I finally fixed all but one of the "no visible binding for global variable" notes. It was painful, I repeatedly broke stuff and readability of the code is not improved in my opinion. Anyway, it seems to be necessary for CRAN 😬 Line 15 in 0f43a2f
and again in line 23 of the same file. I was unable to find this function. @thackl can you tell me from which package you are using this function? We probably need to add that as a dependency. |
When running
|
package is only listed as Suggests, anyway. See r-lib/devtools#1717
I'm finally at a point where almost everything is fixed 😅 For the remaining issues, I need some input from @thackl
Full log* using log directory ‘/home/markus/projects/gggenomes/gggenomes.Rcheck’ * using R version 4.3.2 (2023-10-31) * using platform: x86_64-pc-linux-gnu (64-bit) * R was compiled by gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 GNU Fortran (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 * running under: Ubuntu 22.04.3 LTS * using session charset: UTF-8 * using option ‘--as-cran’ * checking for file ‘gggenomes/DESCRIPTION’ ... OK * this is package ‘gggenomes’ version ‘0.9.12.9000’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [6s/17s] NOTE Maintainer: ‘Thomas Hackl ’
|
Wow, awesome job!!! Sorry, it took me soo long to pick it up again. Re |
…moving unnecessary data; updated examples;
I think I got most of it. Do you know which examples are too slow. Both splitting or skipping are fine with me. |
This is awesome 🚀
So I shrank the images in the emales vignette from 5400x2400 to 1620x720 which is still much larger than the display size in the html. Now all the checks are passing locally.
So I think we are ready for CRAN submission 😎 |
I'm trying to fix all the Errors, Warnings and Notes of
R CMD check
. I already fixed a couple. Still getting errors in the examples. Status is:The 1 Error is misleading, because only fixing one turns up the next one 😅
I'll continue fixing stuff and add it to this pr. But all changes I made so far should be safe to merge anytime, to avoid conflicts in the future.