Skip to content
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

Dev fix cran checks v3.0.6 #45

Merged
merged 7 commits into from
Mar 25, 2024
Merged

Conversation

matteodelucchi
Copy link
Contributor

Addressed the issues that were (hopefully) the reason for the errors that popped up on the CRAN checks: https://cran.r-project.org/web/checks/check_results_abn.html

@matteodelucchi matteodelucchi added the bug Something isn't working label Mar 23, 2024
@matteodelucchi matteodelucchi added this to the Fix CRAN checks milestone Mar 23, 2024
@matteodelucchi matteodelucchi self-assigned this Mar 23, 2024
@matteodelucchi matteodelucchi linked an issue Mar 23, 2024 that may be closed by this pull request
This was linked to issues Mar 23, 2024
@matteodelucchi matteodelucchi marked this pull request as ready for review March 23, 2024 19:31
Copy link

codecov bot commented Mar 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.29%. Comparing base (06827dc) to head (31976b5).
Report is 22 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #45   +/-   ##
=======================================
  Coverage   66.29%   66.29%           
=======================================
  Files          53       53           
  Lines       10395    10395           
=======================================
  Hits         6891     6891           
  Misses       3504     3504           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@j-i-l j-i-l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm, I'm just wondering why we do not run into File fit_model-1.png not found in resource path (and alike) errors in the CRAN-like checks. We do not skip building the vignettes (no --no-build-vignettes or --ignore-vignettes).

@matteodelucchi
Copy link
Contributor Author

hm, I'm just wondering why we do not run into File fit_model-1.png not found in resource path (and alike) errors in the CRAN-like checks. We do not skip building the vignettes (no --no-build-vignettes or --ignore-vignettes).

I'm not sure I understand your question. Our CRAN-like-checks did fail previously to build the vignettes.

I was a bit confused when I saw the errors on CRAN for the first time because we did not had them at the time when we submitted them to CRAN. It turned out that we were working on two different development branches, one for the website and one to resolve the manual feedback we've received from the CRAN team during submission - and I didn't merge them ^^ The problem with rebuilding the vignettes appeared only when I merged the website branch into main (which triggered the respective event as supposed to).
For the long term, I think we should really discuss again the development workflow. This is definitely not very elegant... In particular, we should think about how to handle the manual CRAN feedback on their "pre-checks" before they send it to CRAN.

@matteodelucchi matteodelucchi merged commit 5100ce1 into main Mar 25, 2024
16 checks passed
@matteodelucchi matteodelucchi deleted the dev-fix-CRAN-checks-v3.0.6 branch March 25, 2024 07:22
@j-i-l
Copy link
Collaborator

j-i-l commented Mar 26, 2024

hm, I'm just wondering why we do not run into File fit_model-1.png not found in resource path (and alike) errors in the CRAN-like checks. We do not skip building the vignettes (no --no-build-vignettes or --ignore-vignettes).

I'm not sure I understand your question. Our CRAN-like-checks did fail previously to build the vignettes.

I was a bit confused when I saw the errors on CRAN for the first time because we did not had them at the time when we submitted them to CRAN. It turned out that we were working on two different development branches, one for the website and one to resolve the manual feedback we've received from the CRAN team during submission - and I didn't merge them ^^ The problem with rebuilding the vignettes appeared only when I merged the website branch into main (which triggered the respective event as supposed to). For the long term, I think we should really discuss again the development workflow. This is definitely not very elegant... In particular, we should think about how to handle the manual CRAN feedback on their "pre-checks" before they send it to CRAN.

Ah, I see.I was referring to the tests that succeeded on main.

I agree, let's have a chat about the workflow. For now we have only focused about development but, especially since the CRAN submission is probably never a one-shot thing, we should also go over our branching strategy for "production", i.e. publishing to CRAN in our case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rebuilding vignettes failed on CRAN reduce number of empty tests CRAN checks fail on platforms w/o INLA
2 participants