-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add an input option in r-cmd-check workflow to let users include additional install arguments #144
Comments
I see @e-perl-NOAA is working on updating the @iantaylor-NOAA and @e-perl-NOAA I am also curious whether |
Yes, I think that it is just an SS3 thing. Right now I'm just trying to get things working but after I do we can see if there is a way that we don't have to integrate it into the r_cmd_check() workflow directly. |
Okay so I have it working in my branch by adding those lines in the r_cmd_check workflow.
This line is ss3 ubuntu specific. There something with the ubuntu latest runner that despite the ss3 exe being built on it, the is a gcc library issue when running it that is only solved by adding this line.
|
Sounds great! @e-perl-NOAA Do you think we can create a pull request with your changes in the |
Yes, that works! Thanks so much! |
I am having a similar problem I think with the {nwfscDiag} r-cmd-check that install SS3 on linux to run tests. I have reviewed the changes in the r4ss pull request and it is not immediately clear to me how to apply those similar changes to my package. Additionally, it appears that the pkgdown action in r4ss is now failing once this pull request was merged. Since I don't fully understand the issue with the linux install, I am wondering if this is actually an issue with the linux version of SS3. Any thoughts on this and suggestion of how to revise the |
@chantelwetzel-noaa, could you try adding the following code before - name: update linux libraries
if: matrix.config.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libcurl4-openssl-dev
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get install --only-upgrade libstdc++6 Also, thanks for reporting the pkgdown action failure. Since Regarding the Linux version issue with SS3, the actions are using the latest version of Ubuntu. I noticed that |
@Bai-Li-NOAA Thank you. This fixed the issues for |
Actually, I was mistaken. I saw green actions at the top of the list, but those were not associated with the Error: Error: R CMD check found ERRORs
|
I talked with @msupernaw about this because he is versed in linux and he suggested install g++ using
|
@chantelwetzel-noaa, my mistake! You don’t need to include |
Thanks, @kellijohnson-NOAA. The Ubuntu latest includes g++ version 4:13.2.0-7ubuntu1 and gcc version 4:13.2.0-7ubuntu1. There might be a compatibility issue between the installed gcc and the required libstdc++ by SS3. |
Yeah I have no idea why, I built the linux version using the ubuntu-latest.... They update their runners so often, I can try building the latest release of ss3 from source again and see if maybe the issue that was in the initial build is resolved by now? That happened with the new macos-15 runner. There was an issue awhile back with it that I banged my head for so long trying to solve only to come back a couple weeks later to find it was resolved by updates that GitHub made to that runner. |
@chantelwetzel-noaa could you try calling the update-pkgdown workflow using:
I added the lines of code that @Bai-Li-NOAA included above (which are the same as the ones that I added to the r-cmd-check.yml). Maybe adding it directly to the workflow will work better. |
I think this has been addressed, but please reopen if I am wrong! |
What is your question?
The new release of SS3 created some errors in github actions that (
../ss3: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
GLIBCXX_3.4.32' not found (required by ../ss3)` @e-perl-NOAA seems to have solved by adding the missing library via the lines below in nmfs-ost/ss3-user-examples@7173d5eI'm getting the same error in {r4ss} in call-r-cmd-check, but I'm assuming that those lines would have to occur after the matrix_prep step and therefore can't just be added prior to calling the {ghactions4r} workflow.
@Bai-Li-NOAA and @e-perl-NOAA, do you have any guidance on how to sort this out?
Additional context
No response
The text was updated successfully, but these errors were encountered: