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


