metamelb-repliCATS / aggreCAT

Methods for mathematically aggregating expert judgements
https://replicats.research.unimelb.edu.au
Other
6 stars 2 forks source link

summary table of egg methods / functions #29

Open egouldo opened 2 years ago

egouldo commented 2 years ago
egouldo commented 2 years ago

Great news, multiple vignette engines allowed: https://blog.r-hub.io/2020/06/03/vignettes/

We want both R.sp and knit because there will be a mixture of html vignettes, but also a PDF version of the manuscript

egouldo commented 8 months ago

Previously shifted to kableExtra, which output to pdf nicely. BUT did not output to html nicely (because I set the output option to LaTex). Huxtable was a mess to work with the math.

Two options:

  1. Make use of quarto's contingent execution div's which will execute (or not) for different output types
  2. Shift to tiny table:: which is more flexible than previous tables like gt tables.
egouldo commented 8 months ago

OK! Success in making error https://github.com/rstudio/rticles/issues/497 go away! apparently it's gt:: causing this error (Note that a previous work around is to open the output .tex file and re-compile).

I've tried replacing the gt:: with tinytable:: in a test document and PDF is compiled on first knit now, without error.

Next step is to add in everything after ## Listings {.unnumbered} and see what happens... 🤞🏻

egouldo commented 8 months ago

All good when including entire contents of manuscript, inc. listings. Now next problem is to figure out how to get cross-retable citations working for the kableExtra table...