Replying to @LucyStats
could you share your repo for github action?
You need a step to `sudo apt install libcurl4-openssl-dev` as the (quoted) error says. This is a known achilles heel of the RSPM binaries (which lack full dependencies) which is preempted in some actions for CI but apparently not in your bookdown setup.
1
Here is one hit from searching for the command in the GitHub cran org and restricting to yaml files -- screenshot and source link. You likely need the step before you try to install CRAN packages such as xml2. github.com/cran/precommit/bl…

Jan 9, 2022 · 7:11 PM UTC

1