After number of experiments I think I managed to find out why the docs workflow failed on the snapshot step. It was due to the fact that renv cannot handle code chunk with R expression in any of its param value (e.g. here: eval param) even though it's a valid knitr syntax (docs). renv handles only TRUE, FALSE as well as literal string which interpreted as TRUE (?). I had to find a way how to do that and I found opts_template.
As you can see in the last commit I managed to get the book fully rendered
After number of experiments I think I managed to find out why the docs workflow failed on the snapshot step. It was due to the fact that
renv
cannot handle code chunk with R expression in any of its param value (e.g. here: eval param) even though it's a valid knitr syntax (docs).renv
handles only TRUE, FALSE as well as literal string which interpreted as TRUE (?). I had to find a way how to do that and I foundopts_template
.As you can see in the last commit I managed to get the book fully rendered