Conversation
The ubuntu-20.04 image is deprecated as of 2025-02-01 and is scheduled to be retired on 2025-04-01. https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions
Contributor
Author
|
3.6.3 has a failure I'll need to look into. https://github.com/metrumresearchgroup/lastdose/actions/runs/13291341870/job/37112670107?pr=51 |
With the ubuntu-20.04 to ubuntu-22.04 update, the R 3.6.3 job fails to
build testthat:
../inst/include/testthat/vendor/catch.h:6490:33: error: size of array ‘altStackMem’ is not an integral constant-expression
6490 | static char altStackMem[SIGSTKSZ];
| ^~~~~~~~
../inst/include/testthat/vendor/catch.h:6541:45: error: size of array ‘altStackMem’ is not an integral constant-expression
6541 | char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
| ^~~~~~~~
make: *** [/opt/R/3.6.3/lib/R/etc/Makeconf:177: test-runner.o] Error 1
ERROR: compilation failed for package ‘testthat’
The R 3.6.3 job uses an old version of testthat due to hitting a waldo
error ("object 'compare_proxy' not found"), but, trying now with the
latest version of testthat (3.2.1.1), this failure no longer occurs.
So side step the above error by unpinning testthat.
kylebaron
approved these changes
Feb 12, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The ubuntu-20.04 image is deprecated as of 2025-02-01 and is scheduled to be retired on 2025-04-01.
https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions