tidyverse / tidytemplate

A pkgdown template for core tidyverse packages
https://tidytemplate.tidyverse.org
Other
46 stars 22 forks source link

Fix yaml in Posit logo html #75

Closed gadenbuie closed 1 year ago

gadenbuie commented 1 year ago

Apparently YAML doesn't like the : in the html string.

This shows up in CI runs using tidytemplate

Error in yaml.load(readLines(con, warn = readLines.warn), error.label = error.label,  : 
  (/home/runner/work/_temp/Library/tidytemplate/pkgdown/BS5/_pkgdown.yml) Scanner error: mapping values are not allowed in this context at line [27](https://github.com/rstudio/academyMilestones/actions/runs/4065020062/jobs/6999166648#step:12:28), column 107
Calls: <Anonymous> ... find_template_config -> %||% -> <Anonymous> -> yaml.load
hadley commented 1 year ago

It's always the code that you think you can't possibly screw up...