Closed simoncarrignon closed 8 months ago
@ismaRP this is what I was saying wednesday, showing the function could be done using printr and asis chunk, maybe a solution to follow at some point to solve the problem you mentionned Wednesday about keep the different versions of functions within the kintr chunk and tools.R
up to date and vice versa.
I think after the great job @ismaRP did we can close that!
Functions sucha as this one:
https://github.com/acortell3/collaborabm/blob/ecc1ecaf0e38e3d55e931150099d32da8799808f/doc/bookdown/01_Record_formation.Rmd#L209-L268
Will be used in different context. As they appear in the right order on the bookdown it is ok so far, but it may be a good idea at some point to group them in the [R/]() Folder, and maybe use the package printr or the option
asis
in the chunk, to show the help and the code?