I am currently setting up Github actions via usethis and everything works on Windows and macOS and Ubuntu-16.04 but and I am running into problems und ubuntu >= 18.04. rcmdcheck fails when trying to build the vignettes of the package with this error:
unable to load shared object '/home/runner/work/_temp/Library/stringi/libs/stringi.so': libicui18n.so.55: cannot open shared object file: No such file or directory
Which sounds to me like stringi was not correctly installed from source? But I have no idea how to check/fix this as this is my first time working with github actions.
I used usethis::use_github_action("check-standard")
I dont understand why but my reply with the solution to the topic (increase cache version number to force reinstall of newly compiled stringi) needs mod approval... maybe it's the links I included, so no links in this reply.
I have solved the issue, apparently Stringi needed to be recompiled with the new ICU4C (libcui18n.so) to fix the error (see here).
I assume due to the Package Caching and old version of stringi was used causing the error.
As mentioned here I bumped the cache version to force a reinstall from rspm and this fixed it!
@assignUser
Thanks! Really good job finding this solution.
For anyone else, the yaml below was modified to replace the initial value of 1 with a value of 2.
Ubuntu release now working.