I had a INBOmd::gitbook() report which rendered in v0.5.1 but failed in v0.5.2. The problem is due to an ö character in the YAML title. I searched the diff of both versions for possible causes and the problem might have been introduced in 6694f99ad42c665b88208a44a1b91ac6b3efafe3 (the error that I get is from readLines()). I think changing
I had a
INBOmd::gitbook()
report which rendered in v0.5.1 but failed in v0.5.2. The problem is due to an ö character in the YAML title. I searched the diff of both versions for possible causes and the problem might have been introduced in 6694f99ad42c665b88208a44a1b91ac6b3efafe3 (the error that I get is from readLines()). I think changingx <- readLines(output, encoding = "UTF-8")
to
x <- readLines(file(output, encoding = "UTF-8"))
might fix it - as suggested in https://github.com/viking/r-yaml/issues/38#issuecomment-314970933. You can reproduce the problem with inbo_examples repo, by changing the title in the example inbo_rapport.