Skip to content

Streamline #includes #537

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

MichaelChirico
Copy link
Contributor

As flagged by clang-tidy:

https://clang.llvm.org/extra/clang-tidy/checks/misc/include-cleaner.html

Usually I ignore these recommendations for R packages, but the C code here is self-contained enough that the change is easier to motivate.

Copy link
Contributor

aviator-app bot commented Mar 18, 2025

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes.
Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This PR is not ready to merge (currently in state blocked): PR cannot be automatically rebased, please rebase manually to continue.

Once the issues are resolved, remove the blocked label and re-queue the pull request. Note that the pull request will be automatically re-queued if it has the mergequeue label.

Pending Status Checks

  • ✅ 18 tests passing!

See the real-time status of this PR on the Aviator webapp.
Use the Aviator Chrome Extension to see the status of your PR within GitHub.

@moodymudskipper
Copy link
Collaborator

Thanks!

Copy link
Contributor

aviator-app bot commented Mar 19, 2025

This pull request failed to merge: some required checks failed. After you have resolved the problem, you should remove the blocked pull request label from this PR and then try to re-queue the PR. Note that the pull request will be automatically re-queued if it has the mergequeue label.

Failed checks: rcc, Smoke test: stock R

@moodymudskipper
Copy link
Collaborator

Oops, this still fails @MichaelChirico :

using C compiler: ‘gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0’
ccache gcc -I"/opt/R/4.4.3/lib/R/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -c constructive.c -o constructive.o
constructive.c:6:10: fatal error: R_ext/error.h: No such file or directory

@MichaelChirico
Copy link
Contributor Author

Ah, true, it's Error.h.

@moodymudskipper
Copy link
Collaborator

It seems like I need inttypes.h for SCNxPTR

@MichaelChirico
Copy link
Contributor Author

It seems like I need inttypes.h for SCNxPTR

indeed. shows me for obeying the lint warning blindly 😉

I filed a bug about the incorrect finding...

Copy link
Contributor

aviator-app bot commented Mar 19, 2025

This pull request failed to merge: PR cannot be automatically rebased, please rebase manually to continue. After you have resolved the problem, you should remove the blocked pull request label from this PR and then try to re-queue the PR. Note that the pull request will be automatically re-queued if it has the mergequeue label.

Additional debug info: Failed to rebase this PR onto the latest changes from the base branch. You will probably need to rebase this PR manually and resolve conflicts).

Copy link
Contributor

aviator-app bot commented Apr 15, 2025

Free usage limit reached: 15 users this month.To add more users, upgrade to the Pro plan.

Copy link
Contributor

aviator-app bot commented Apr 22, 2025

Free usage limit reached: 15 users this month.To add more users, upgrade to the Pro plan.

@moodymudskipper
Copy link
Collaborator

This covr error with Ubunto on R 4.5 is very weird, and the other errors confuse me as well, I might just restart this from scratch with baby steps to see what breaks

Copy link

codecov bot commented Apr 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.95%. Comparing base (a110376) to head (59d1195).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #537   +/-   ##
=======================================
  Coverage   83.95%   83.95%           
=======================================
  Files         121      121           
  Lines        4617     4617           
=======================================
  Hits         3876     3876           
  Misses        741      741           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

aviator-app bot commented Apr 29, 2025

Free usage limit reached: 15 users this month.To add more users, upgrade to the Pro plan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants