carpentries / actions

GitHub Actions for use in Carpentries-style lessons
1 stars 8 forks source link

ERROR: compilation failed for package ‘yaml’ #93

Closed svenvanderburg closed 2 months ago

svenvanderburg commented 2 months ago

Since this week, the setup-lesson-deps step results in an error when installing yaml:

 r_emit.c: In function ‘Ryaml_serialize_to_yaml’: 
 r_emit.c:957:11: error: format not a string literal and no format arguments [-Werror=format-security]

ERROR: compilation failed for package ‘yaml’

See full error here: https://github.com/esciencecenter-digital-skills/fertility-prediction-assignment/actions/runs/9470102076

svenvanderburg commented 2 months ago

The issue seems to be reported to r-yaml package here: https://github.com/vubiostat/r-yaml/issues/143

svenvanderburg commented 2 months ago

@charmoniumQ you seem to understand the underlying problem better. Can we somehow point to an older version of r-yaml or use something pre-built to circumvent compiling? While waiting for https://github.com/vubiostat/r-yaml/issues/143 to be fixed.

svenvanderburg commented 2 months ago

The problem is not with setup-lesson-deps but with the outdated dependencies in my repo, see https://github.com/carpentries/workbench-template-rmd/issues/69