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

Error: R CMD check found ERRORs for macos and macOS-arm64 but not linux or windows. #653

Open
AndyBunn opened this issue Jan 30, 2025 · 2 comments

Comments

@AndyBunn
Copy link

Apologies for naive question and failure to be able to parse the logs. When running check on the package dplR using linux, windows, macos, and macos-arm64 I get failure on the Mac flavors but not linux pr windows. And R CMD check --as-cran passes fine on the tarball locally on my Mac.

The job and logs are here:
https://github.com/OpenDendro/dplR/actions/runs/13044039594/job/36391482813

In the macos check the issues appears to pop up on line 141 when the linker (ld) is trying to find libraries that don't exist for gfortran. This happens on on line 142 for the arm64 check. Also, the arm64 check has another error on line 132 that relates to some C code being compiled.

I am aware of the array size warnings (e.g., line 112) but don't know if that is connected to the error. The linux compiler is not concerned with -fmax-stack-var-size nor is the windows compiler.

Any insights appreciated.

@gaborcsardi
Copy link
Collaborator

My guess is that CRAN's R-devel macOS builds switched to a newer Fortran compiler and https://github.com/r-lib/actions does not know about this yet.

@AndyBunn
Copy link
Author

Ah. A bug was opened over there that aligns (partially?) with this issue. Thanks.

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

No branches or pull requests

2 participants