-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
CRAN submission #818
CRAN submission #818
Conversation
Codecov Report
@@ Coverage Diff @@
## main #818 +/- ##
==========================================
+ Coverage 54.76% 54.86% +0.10%
==========================================
Files 124 124
Lines 15337 15337
==========================================
+ Hits 8399 8415 +16
+ Misses 6938 6922 -16
|
@easystats/core-team I have to update insight due to changes in glmmTMB that break our tests (see #806), however, there are some strange issues that I get from winbuilder (only R devel)... These issues rather look like false positives, i.e. not related to insight? Some failures are related to glmmTMB, but then I wonder why we don't see these issues in their tests (https://cran.r-project.org/web/checks/check_results_glmmTMB.html)? (unless this is not tested...) |
Hmm, we certainly can't test everything, but to pick one example out at random (the logs are a little overwhelming), I have no problem with this one:
Whereas locally (with R Under development (unstable) (2023-09-20 r85179), glmmTMB_1.1.8-9000) it seems fine. glmmTMB::glmmTMB(vs ~ disp + (1 | cyl), data = mtcars, family = binomial())
Formula: vs ~ disp + (1 | cyl)
Data: mtcars
AIC BIC logLik df.resid
28.69583 33.09304 -11.34792 29
## etc. I see lots and lots of Matrix-related errors. Maybe see what's going on with that first ... ? |
Yes, there are some errors that seem related to the Matrix package, like
glmmTMB errors, however, also show issues with ── Error ('test-model_info.R:44:3'): glmmTMB bernoulli ─────────────────────────
Error in `fitTMB(TMBStruc)`: negative log-likelihood is NaN at starting parameter values
Backtrace:
▆
1. └─glmmTMB::glmmTMB(vs ~ disp + (1 | cyl), data = mtcars, family = binomial()) at test-model_info.R:44:2
2. └─glmmTMB::fitTMB(TMBStruc) |
I saw those
|
I wonder why the Matrix package has no failures on the CRAN page: This seems like it's in general a false positive from win-builder - I don't think there are real issues with glmmTMB. Furthermore, win-devel on the CRAN page also shows none of the errors from the win-builder log: Maybe I just ignore the win-builder (only R-devel errors) results for now and try to submit. All other checks, including revdep, passed.
That should be fixed here: e913fd4 |
I agree that these are probably false positives. If it were me I would check on r-hub's Windows platforms; if it's OK there then I would submit with a note explaining the issue. |
I rarely use win-builder anymore and just just r-hub's windows servers. I've run into a lot fewer issues like these |
I've never used rhub before 😬 But I just uploaded to rhub, Win-devel, waiting for the result now... |
Rhub basically runs the CRAN checks with good fidelity--I say it completely replaces the role of win-builder |
Hmm, I'm wondering why the GHA windows-devel workflow doesn't catch the same failures as R-hub. What is R-hub doing differently? Maybe we should also adapt the GHA workflow to align with what R-hub is doing. |
I have to say that chasing obscure, heterogeneous test failures across multiple platforms is (by far) my least favourite part of package development ... All three of the windows platforms are reporting different errors ... |
Ok, obviously, CRAN checks work slightly different. None of the issues reported by win builder or rhub were mentioned during submission... |
No description provided.