insightsengineering / tlg-catalog

A catalog of Tables, Listings and Graphs (TLGs) created with NEST R packages
https://insightsengineering.github.io/tlg-catalog/
Other
20 stars 8 forks source link

fix render workflow #72

Closed pawelru closed 1 year ago

pawelru commented 1 year ago

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

github-actions[bot] commented 1 year ago

Unit Tests Summary

8 tests   0 :heavy_check_mark:  8s :stopwatch: 1 suites  8 :zzz: 1 files    0 :x:

Results for commit 453c4643.

:recycle: This comment has been updated with latest results.